[nycbug-talk] Unable to allocate 577925121 bytes

Steve Rieger steve.rieger
Tue Sep 27 11:09:20 EDT 2005


i will be the first to admit i am stupid,

RTFM

man ulimit

added these three lines to custom-kernel-confg and all is groovy now

options         MAXDSIZ=(1024UL*1024*1024)
options         MAXSSIZ=(128UL*1024*1024)
options         DFLDSIZ=(1024UL*1024*1024)

fbsd's default is 512 therefore anything over could not go.


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

if ((light eq dark) && (dark eq light)
    && ($blaze_of_night{moon} == black_hole)
    && ($ravens_wing{bright} == $tin{bright})){
  my $love = $you = $sin{darkness} + 1;
};


On Sep 27, 2005, at 5:34 AM, Steve Rieger wrote:

>  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
>
>
> _______________________________________________
> % NYC*BUG talk mailing list
> http://lists.nycbug.org/mailman/listinfo/talk
> %Be sure to check out our Jobs and NYCBUG-announce lists
> %We meet the first Wednesday of the month
>
>
>





More information about the talk mailing list