Search squid archive

Squid SMP workers crash

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

 



Hi,

I'm using squid's SMP functionality to distribute requests to many
squid instances and distribute workload to multiple processors.
However while running squid's workers after a while worker processes
crash with the error below and coordinator does not start them again:
...
FATAL: Ipc::Mem::Segment::open failed to
shm_open(/squid-cf__metadata.shm): (2) No such file or directory
Squid Cache (Version 3.5.20): Terminated abnormally.
...

Does a solution exists for this problem? (permissions are OK in /dev/shm)


When everything is OK coordinator listens to http_ports/https_port and
distributes connections to workers(at least that's the conclusion I
got from looking access.logs).
[root@squidbox ~]# netstat -nlp|grep squid
tcp        0      0 0.0.0.0:8080                0.0.0.0:*
     LISTEN      7887/(squid-coord-1
tcp        0      0 0.0.0.0:3127                0.0.0.0:*
     LISTEN      7887/(squid-coord-1
tcp        0      0 0.0.0.0:3128                0.0.0.0:*
     LISTEN      7887/(squid-coord-1
tcp        0      0 0.0.0.0:3130                0.0.0.0:*
     LISTEN      7887/(squid-coord-1
tcp        0      0 0.0.0.0:8443                0.0.0.0:*
     LISTEN      7887/(squid-coord-1
udp        0      0 0.0.0.0:57850               0.0.0.0:*
                 7897/(squid-1)
udp        0      0 0.0.0.0:33643               0.0.0.0:*
                 7894/(squid-4)
udp        0      0 0.0.0.0:50485               0.0.0.0:*
                 7896/(squid-2)
udp        0      0 0.0.0.0:46427               0.0.0.0:*
                 7887/(squid-coord-1
udp        0      0 0.0.0.0:58938               0.0.0.0:*
                 7895/(squid-3)


Also is my way of using SMP functionality correct, since I want to
distribute all connections between workers and to listen only specific
ports?

I have attached the squid.conf.

Regards,

Attachment: squid.conf
Description: Binary data

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux