pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42837 (www/squid31 abort()s)



The following reply was made to PR pkg/42837; it has been noted by GNATS.

From: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tron%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost
Subject: Re: pkg/42837 (www/squid31 abort()s)
Date: Thu, 18 Feb 2010 08:39:09 +0100

 At 19:44 Uhr +0000 17.2.2010, tron%NetBSD.org@localhost wrote:
 >I can think of two reasons why "squid31" crashes:
 >
 >1.) It tries to allocate more memory than it is allowed to by default.
 >    Can you please try to put the following into "/etc/rc.conf.d/squid"
 >    and check whether it makes a difference?
 >
 >start_precmd="set_limits"
 >
 >set_limits()
 >{
 >        ulimit -d `ulimit -d -H`
 >        ulimit -s `ulimit -s -H`
 >}
 
 [hauke@pizza] /<2>www/squid31 # unlimit datasize
 [hauke@pizza] /<2>www/squid31 # unlimit descriptors
 [hauke@pizza] /<2>www/squid31 # limit
 cputime      unlimited
 filesize     unlimited
 datasize     1048576 kbytes
 stacksize    8192 kbytes
 coredumpsize unlimited
 memoryuse    477100 kbytes
 descriptors  3404
 memorylocked 159033 kbytes
 maxproc      160
 sbsize       unlimited
 [hauke@pizza] /<2>www/squid31 # squid -N -d9
 2010/02/18 08:35:37| Starting Squid Cache version 3.1.0.16 for
 sparc--netbsdelf...
 2010/02/18 08:35:37| Process ID 15238
 2010/02/18 08:35:37| With 3392 file descriptors available
 2010/02/18 08:35:37| Initializing IP Cache...
 2010/02/18 08:35:37| DNS Socket created at 0.0.0.0, FD 4
 2010/02/18 08:35:37| Adding domain causeuse.org from /etc/resolv.conf
 2010/02/18 08:35:37| Adding nameserver 172.16.7.10 from /etc/resolv.conf
 2010/02/18 08:35:37| Adding domain causeuse.org from /etc/resolv.conf
 2010/02/18 08:35:37| Not currently OK to rewrite swap log.
 2010/02/18 08:35:37| storeDirWriteCleanLogs: Operation aborted.
 Abort
 [hauke@pizza] /<2>www/squid31 #
 
 -- so, no, it does not appear to be an OOM problem.
 
        hauke
 
 
 --
 "It's never straight up and down"     (DEVO)
 
 


Home | Main Index | Thread Index | Old Index