>    1. Re: Perl hanguieshte sistemul (Sabin Iacob)

> suna de parca sistemul ar asteapta dupa ceva
> operatiuni i/o; vezi sa nu 
> fie probleme cu unitatile de stocare (partitie /
> plina, hdd-uri care isi 
> iau vacanta din diverse motive).
> mie mi se intampla asa atunci cand aveam o singura
> partitie cu tot 
> sistemul si aia era plina, sau cand incerc sa scriu
> pe un hdd samsung 
> (yuck and double yuck) care nu duce mai mult de 5
> MB/s la write (cum 
> prin ethernet circula lejer 10-11 MB/s, daca incerc
> "exotic2$ scp 
> newestpr0n.avi [EMAIL PROTECTED]:", m-am ars), sau cand
> crapa modulul de 
> openafs; in toate cazurile, sunt operatiuni i/o care
> nu se termina din 
> varii motive, si kernelul asteapta dupa ele.
> 
> -- 
> paranoia, n.:
>          A healthy understanding of the way the
> universe works.
> 


pe partitia / sunt aproximativ 2.2 GB liberi. Cand
totul e calm, hdparm -t /dev/hda imi da cam 55 MB/s.
Filesystemul este Reiser.
Sistemul ingheata, chiar daca rulez ca user:
$nice -n 19 ./suicide.sh
unde suicide.sh contine ceva de genul
while [ 1 ];do
script_perl_cu_15_threaduri.pl &
sleep 5;
script_perl_cu_15_threaduri.pl &
..
done

stiu ca ceea ce fac e criminal, ar trebui sa fiu mai
rational, dar nu asta este important pt mine.
Important este SA NU MAI INGHETE, indiferent de ce
i-as face. inghetat inseamna ca sistemul este
inutilizabil, becul rosu care indica faptul ca se
scrie pe disc este aprins, hardul caraie, dupa o
perioada becul se stinge, hardul nu se mai aude
caraind, dar sistemul ramane inutilizabil, moment in
care dau restart de la buton.


andreid root # dmesg |grep hda
Kernel command line: root=/dev/hda2
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings:
hda:DMA, hdb:DMA
hda: ST380011A, ATA DISK drive
hda: max request size: 1024KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache,
CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 < hda5 >
ReiserFS: hda2: found reiserfs format "3.6" with
standard journal
ReiserFS: hda2: using ordered data mode
ReiserFS: hda2: journal params: device hda2, size
8192, journal first block 18, max trans len 1024, max
batch 900, max commit age 30, max trans age 30
ReiserFS: hda2: checking transaction log (hda2)
ReiserFS: hda2: replayed 12 transactions in 0 seconds
ReiserFS: hda2: Using r5 hash to sort names
Adding 506008k swap on /dev/hda1.  Priority:-1
extents:1
ReiserFS: hda5: found reiserfs format "3.6" with
standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size
8192, journal first block 18, max trans len 1024, max
batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: replayed 3 transactions in 0 seconds
ReiserFS: hda5: Using r5 hash to sort names
andreid filters # fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id
 System
/dev/hda1               1          63      506016   82
 Linux swap / Solaris
/dev/hda2              64        1401    10747485   83
 Linux
/dev/hda3            1402        9729    66894660    5
 Extended
/dev/hda5            1402        9729    66894628+  83
 Linux

de asemenea:


andreid root # hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
        Model Number:       ST380011A                 
             
        Serial Number:      5JVAKB03            
        Firmware Revision:  3.06    
Standards:
        Used: ATA/ATAPI-6 T13 1410D revision 2 
        Supported: 6 5 4 3 
Configuration:
        Logical         max     current
        cylinders       16383   65535
        heads           16      1
        sectors/track   63      63
        --
        CHS current addressable sectors:    4128705
        LBA    user addressable sectors:  156301488
        LBA48  user addressable sectors:  156301488
        device size with M = 1024*1024:       76319
MBytes
        device size with M = 1000*1000:       80026
MBytes (80 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 4      Queue depth: 1
        Standby timer values: spec'd by Standard
        R/W multiple sector transfer: Max = 16 
Current = 16
        Recommended acoustic management value: 128,
current value: 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3
udma4 *udma5 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=240ns  IORDY
flow control=120ns
Commands/features:
        Enabled Supported:
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
           *    FLUSH CACHE EXT command
           *    Mandatory FLUSH CACHE command 
           *    Device Configuration Overlay feature
set 
           *    48-bit Address feature set 
                SET MAX security extension
           *    DOWNLOAD MICROCODE cmd
           *    SMART self-test 
           *    SMART error logging 
Security: 
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct




                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

Raspunde prin e-mail lui