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: Matthias Scheler <tron%NetBSD.org@localhost>
To: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/42837 (www/squid31 abort()s)
Date: Thu, 18 Feb 2010 08:33:16 +0000
On Thu, Feb 18, 2010 at 08:39:09AM +0100, Hauke Fath wrote:
> >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.
That's a shame.
I'm afraid I can't help you much as it works fine on my setup.
Could you please try compiling "squid31" with debugging options and
use "gdb" to find out where it crashes?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index