Re: [squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
On 16/03/2015 4:09 a.m., HackXBack wrote: Okay Solved Thanks Amos, where i can find all configure options that can be used for squid ? ./configure --help lists them with a ver brief explanation. Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
Okay Solved Thanks Amos, where i can find all configure options that can be used for squid ? can you give me link in wiki. Thanks Mate .. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/FATAL-xcalloc-Unable-to-allocate-18446744073487757627-blocks-of-1-bytes-tp4670271p4670434.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
On 10/03/2015 10:39 p.m., HackXBack wrote: this is my configure option , what may cause the problem ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/squid --infodir=/usr/share/info --mandir=/usr/share/man --disable-dependency-tracking --disable-strict-error-checking --enable-async-io=32 --with-aufs-threads=32 --with-pthreads --enable-storeio=ufs,aufs,diskd --enable-removal-policies=lru,heap --with-aio --with-dl --disable-icmp --enable-esi --enable-icap-client --disable-wccp --enable-wccpv2 --enable-kill-parent-hack --enable-cache-digests --disable-select --enable-http-violations --enable-linux-netfilter --enable-follow-x-forwarded-for --disable-ident-lookups --enable-x-accelerator-vary --enable-zph-qos --with-default-user=proxy --with-logdir=/var/log/squid --with-pidfile=/var/run/squid.pid --with-swapdir=/var/spool/squid --with-large-files --enable-ltdl-convenience --with-filedescriptors=10 --enable-ssl --enable-ssl-crtd --with-openssl --disable-auth --disable-ipv6 --enable-build-info=build by : ANDO_TBLRB HackXBack --with-included-ltdl --enable-arp-acl --enable-epoll --enable-snmp --enable-referer-log --disable-unlinkd --enable-truncate --enable-useragent-log --enable-eui --enable-large-cache-files --with-maxfd=65536 CFLAGS=-Wall -g -O3 -march=native -mtune=native -pipe -DNUMTHREADS=60 -fomit-frame-pointer -fno-strict-aliasing -funroll-loops -ffast-math -fno-exceptions LDFLAGS=-Wl,-Bsymbolic-functions Remove the -O3 or at least reduce it to -O1 and the -g should make the symbols. Its possible the rest fo the toolchain is removing them smoehow but thats not clear from these options. Note also that CFLAGS is only used for some old C libraries we have to build. You are not defining any options for CXXFLAGS which is what the C++ compiler uses to build Squid, so the default options are used. squid -v output will show you what actually got used. Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
On 10/03/2015 8:44 a.m., HackXBack wrote: root@debian:/etc/squid# gdb /usr/sbin/squid /var/spool/squid/cache/squid/core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/sbin/squid...done. [New LWP 7263] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Core was generated by `(squid-1) -YC -f /etc/squid/squid.conf'. Program terminated with signal 6, Aborted. #0 0x7f938c52d165 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) backtrace #0 0x7f938c52d165 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7f938c5303e0 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00573bc5 in fatal_dump (message=0xbaf580 xcalloc: Unable to allocate 18446744073645296089 blocks of 1 bytes!\n) at fatal.cc:138 #3 0x007ab976 in xcalloc (n=18446744073645296089, sz=1) at xalloc.cc:82 Oh darn. These bits ... #4 0xbfebfbff in ?? () #5 0x0006 in ?? () #6 0x1000 in ?? () #7 0x0011 in ?? () #8 0x0064 in ?? () #9 0x0003 in ?? () #10 0x00400040 in ?? () #11 0x0004 in ?? () #12 0x0038 in ?? () #13 0x0005 in ?? () #14 0x0008 in ?? () #15 0x0007 in ?? () #16 0x7f3c7d951000 in ?? () #17 0x0008 in ?? () #18 0x in ?? () (gdb) Are the ones we need to see symbol names from. If you self-built it from sources it will need to be rebuilt without symbol stripping, then a new trace gathered. If you built it using updated sources under the .deb package there should be a squid-dbg binary with all the symbol names in to be loaded by gdb instead of the sbin/squid parameter. Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
root@debian:/etc/squid# gdb /usr/sbin/squid /var/spool/squid/cache/squid/core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/sbin/squid...done. [New LWP 7263] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Core was generated by `(squid-1) -YC -f /etc/squid/squid.conf'. Program terminated with signal 6, Aborted. #0 0x7f938c52d165 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) backtrace #0 0x7f938c52d165 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7f938c5303e0 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00573bc5 in fatal_dump (message=0xbaf580 xcalloc: Unable to allocate 18446744073645296089 blocks of 1 bytes!\n) at fatal.cc:138 #3 0x007ab976 in xcalloc (n=18446744073645296089, sz=1) at xalloc.cc:82 #4 0xbfebfbff in ?? () #5 0x0006 in ?? () #6 0x1000 in ?? () #7 0x0011 in ?? () #8 0x0064 in ?? () #9 0x0003 in ?? () #10 0x00400040 in ?? () #11 0x0004 in ?? () #12 0x0038 in ?? () #13 0x0005 in ?? () #14 0x0008 in ?? () #15 0x0007 in ?? () #16 0x7f3c7d951000 in ?? () #17 0x0008 in ?? () #18 0x in ?? () (gdb) -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/FATAL-xcalloc-Unable-to-allocate-18446744073487757627-blocks-of-1-bytes-tp4670271p4670286.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
[squid-users] FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes!
2015/03/09 03:27:28 kid1| cannot change current directory to /var/spool/squid/cache/squid: (2) No such file or directory 2015/03/09 03:27:28 kid1| Current Directory is / 2015/03/09 03:27:28 kid1| Starting Squid Cache version 3.4.12 for x86_64-unknown-linux-gnu... 2015/03/09 03:27:28 kid1| Process ID 2993 2015/03/09 03:27:28 kid1| Process Roles: worker 2015/03/09 03:27:28 kid1| With 65536 file descriptors available 2015/03/09 03:27:28 kid1| Initializing IP Cache... 2015/03/09 03:27:28 kid1| DNS Socket created at 0.0.0.0, FD 7 2015/03/09 03:27:28 kid1| Adding nameserver 127.0.0.1 from squid.conf 2015/03/09 03:27:28 kid1| helperOpenServers: Starting 40/50 'ssl_crtd' processes 2015/03/09 03:27:28 kid1| helperOpenServers: Starting 1/1 'storeid.pl' processes 2015/03/09 03:27:28 kid1| Logfile: opening log /var/log/squid/access.log 2015/03/09 03:27:28 kid1| WARNING: log name now starts with a module name. Use 'stdio:/var/log/squid/access.log' FATAL: xcalloc: Unable to allocate 18446744073487757627 blocks of 1 bytes! Squid Cache (Version 3.4.12): Terminated abnormally. CPU Usage: 0.036 seconds = 0.016 user + 0.020 sys Maximum Resident Size: 78368 KB Page faults with physical i/o: 0 when i remove hard drive it work !! why ?? -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/FATAL-xcalloc-Unable-to-allocate-18446744073487757627-blocks-of-1-bytes-tp4670271.html Sent from the Squid - Users mailing list archive at Nabble.com. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users