[nycbug-talk] Unable to allocate 577925121 bytes

Steve Rieger steve.rieger
Tue Sep 27 05:34:14 EDT 2005


  www   3.2M Sep 14 20:29 20050914002hi all
am revisiting this because its cauding me major headaches.

when trying to d/l a file  1 www   www   551M Sep 16 13:23  
20050818002.zip
via apache1.3.33/php 4.3.11, i get that in the logs
i thought it was because i dont have enough swap so i did

cat /etc/rc.conf
mdconfig -a -t vnode -f /usr/swap1 -u 1 && swapon /dev/md1
mdconfig -a -t vnode -f /usr/swap2 -u 2 && swapon /dev/md2
mdconfig -a -t vnode -f /usr/swap3 -u 3 && swapon /dev/md3
mdconfig -a -t vnode -f /usr/swap4 -u 4 && swapon /dev/md4

%swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/da0s1b       4194304        0  4194304     0%
/dev/md2           262144        0   262144     0%
/dev/md3           262144        0   262144     0%
/dev/md4           262144        0   262144     0%
/dev/md5           262144        0   262144     0%
/dev/md6          1048576        0  1048576     0%
Total             6291456        0  6291456     0%


which means i have more than enough swap and a show of top proves it

last pid:  1275;  load averages:  0.24,  0.19,  0.16    up 0 
+00:34:42  05:31:19
73 processes:  1 running, 72 sleeping
CPU states:     % user,     % nice,     % system,     %  
interrupt,     % idle
Mem: 38M Active, 25M Inact, 54M Wired, 46M Cache, 61M Buf, 3348M Free
Swap: 6143M Total, 6143M Free

i set the following in the local dir in htaccess

php_value upload_max_filesize 300M
php_value memory_limit 947M
php_value max_input_time 120
php_value max_execution_time 120
php_value post_max_size 947M

i want 1 gig to be the limit of downloads.

note this is on freebsd 5.4 custom kernel with smp. and yes i can scp  
these large files,

as far as i can see i am not doing anything wrong, then why cant i  
download a 551 MB file

anything under say 450 MB works great.





Steve Rieger
steve.rieger at tbwachiat.com
Cell      646-335-8915
Office   212 804 1131
Fax       212 804 1200
AIM      chozrim
Yahoo riegersteve






More information about the talk mailing list