[nycbug-talk] large file download via apache

Steve Rieger steve.rieger
Wed Sep 14 15:27:19 EDT 2005


hi all on fbsd 5.4 smp

when trying to download a file thats about 1 gig in size the  
connnection gets dropped, no errors in apache other than "Undefinded  
index in filegetter.php "

and this does not happen to files that are even onnly a drop smaller

am assuming that i can change something in the kernel to allow large  
files to be read, if thats the case i printed out my sysctl buffer  
variables.


can somebody please poiunt me in the right direction


%sysctl -a | grep buf
kern.ipc.maxsockbuf: 262144
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.nsfbufs: 6656
kern.ipc.nsfbufspeak: 3
kern.ipc.nsfbufsused: 0
cluster_save buffer     0     0K      1K    12439  32,64
    BIO buffer     9    12K    204K     1537  1024,2048
          sbuf     0     0K     13K      450   
16,32,64,128,256,512,1024,2048,4096
        devbuf  1432  8462K   8462K     4249   
16,32,64,128,256,512,1024,2048,4096
kern.msgbuf:
kern.msgbuf_clear: 0
kern.consmsgbuf_size: 8192
MbufClust:      2048,    25600,    593,    415, 423946637
Mbuf:            256,        0,    599,    556, 1398895769
vfs.nfs.bufpackets: 4
vfs.runningbufspace: 0
vfs.bufspace: 117211136
vfs.maxbufspace: 117932032
vfs.bufmallocspace: 12288
vfs.maxmallocbufspace: 5863833
vfs.lobufspace: 117211136
vfs.hibufspace: 117276672
vfs.bufreusecnt: 7154
vfs.buffreekvacnt: 0
vfs.bufdefragcnt: 0
vfs.dirtybufferflushes: 3790
vfs.altbufferflushes: 1
vfs.numdirtybuffers: 30
vfs.lodirtybuffers: 909
vfs.hidirtybuffers: 1819
vfs.dirtybufthresh: 1637
vfs.numfreebuffers: 7168
vfs.lofreebuffers: 404
vfs.hifreebuffers: 808
vfs.getnewbufcalls: 19042504
vfs.getnewbufrestarts: 0
vfs.reassignbufcalls: 39790296
debug.sizeof.buf: 436
debug.bpf_bufsize: 4096
debug.bpf_maxbufsize: 524288
security.bsd.unprivileged_read_msgbuf: 1




--
Steve Rieger
AIM chozrim
ICQ 53956607
Cell 646 335 8915
steve.rieger at tbwachiat.com






More information about the talk mailing list