[MacPorts] #47880: squid 3.5.4 and squid 3.5.5 run fails with syslog err "failed to ftruncate"

MacPorts noreply at macports.org
Fri May 29 00:39:31 PDT 2015


#47880: squid 3.5.4 and squid 3.5.5 run fails with syslog err "failed to ftruncate"
----------------------+-------------------
  Reporter:  ni-27@…  |      Owner:  jmr@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.3
Resolution:           |   Keywords:
      Port:  squid3   |
----------------------+-------------------
Changes (by ryandesign@…):

 * cc: jmr@… (removed)
 * owner:  macports-tickets@… => jmr@…
 * keywords:  squid3 squid 3.5.5 =>


Old description:

> 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
>
> - - -

New description:

 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

 =====

--

-- 
Ticket URL: <https://trac.macports.org/ticket/47880#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list