Opened 9 years ago

Last modified 9 years ago

#47880 closed defect

squid 3.5.4 and squid 3.5.5 run fails with syslog err "failed to ftruncate" — at Version 1

Reported by: TP75 Owned by: jmr@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: squid3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Squid3 compiles but "load squid3" run fails with syslog err "failed to ftruncate" regularily. The child squid is stopped due to the resulting file troubles apparently.

This issue seems not be solved by Ticket #47080

Error is active since changing from 3.4.11 to 3.5.x and would be good to have a squid3_3.4.x variant continued, I suppose.


entry for error from system.log:

Ipc::Mem::Segment::create failed to ftruncate(/squid-cf__metadata.shm): (22) Invalid argument

squid -v

Squid Cache: Version 3.5.5
Service Name: squid
configure options:  '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--sysconfdir=/opt/local/etc/squid' '--datadir=/opt/local/share/squid' '--localstatedir=/opt/local/var/squid' '--libexecdir=/opt/local/libexec/squid' '--with-pidfile=/opt/local/var/run/squid/squid.pid' '--disable-strict-error-checking' '--disable-loadable-modules' '--disable-arch-native' '--without-gnutls' '--without-mit-krb5' '--without-heimdal-krb5' '--without-gnugss' '--enable-delay-pools' '--enable-zph-qos' '--enable-removal-policies' '--enable-storeio=ufs,aufs,diskd,rock' '--enable-disk-io=AIO,Blocking,DiskDaemon,DiskThreads,Mmapped' '--enable-log-daemon-helpers' '--with-default-user=squid' '--enable-auth' '--enable-auth-basic' '--enable-auth-digest' '--enable-auth-negotiate=wrapper' '--enable-auth-ntlm' '--enable-external-acl-helpers=SQL_session eDirectory_userip file_userip time_quota unix_group wbinfo_group' '--with-openssl=/opt/local' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -arch x86_64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/clang++' 'CXXFLAGS=-pipe -Os -arch x86_64 -stdlib=libc++'

environment:

Apple Mac OS X 10.9.5 (13F1077)
Apple XCode Version 6.2 (6C131e)

macports 2.3.3
squid3 @3.5.5_0+openssl

=====

Change History (1)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmr@… removed
Description: modified (diff)
Keywords: squid3 squid 3.5.5 removed
Owner: changed from macports-tickets@… to jmr@…
Note: See TracTickets for help on using tickets.