From owner-freebsd-isp@FreeBSD.ORG Tue Sep 27 09:37:06 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24D2716A41F for ; Tue, 27 Sep 2005 09:37:06 +0000 (GMT) (envelope-from steve.rieger@tbwachiat.com) Received: from up-south.com (cpe-24-29-149-124.nyc.res.rr.com [24.29.149.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50E243D48 for ; Tue, 27 Sep 2005 09:37:05 +0000 (GMT) (envelope-from steve.rieger@tbwachiat.com) Received: from [10.20.4.142] (nyhost250.pool.tbwachiat.com [208.244.205.250]) by up-south.com (Postfix) with ESMTP id C7427442629; Tue, 27 Sep 2005 05:37:04 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Steve Rieger Date: Tue, 27 Sep 2005 05:37:03 -0400 To: freebsd-isp@freebsd.org X-Mailer: Apple Mail (2.734) Subject: FATAL: erealloc(): Unable to allocate 577925121 bytes X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 09:37:06 -0000 hi all this is causing me major headaches. when trying to d/l the following 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@tbwachiat.com Cell 646-335-8915 Office 212 804 1131 Fax 212 804 1200 AIM chozrim Yahoo riegersteve