[squid-users] Problem with ssl_crtd

Yuri Voinov yvoinov at gmail.com
Wed Dec 28 19:57:49 UTC 2016


Try to upgrade to 3.5.23. It seems like partially fixed bug.


28.12.2016 23:16, Eduardo Carneiro пишет:
> Hi everyone.
>
> I have a strange issue with my squid 3.5.19. When I enable ssl-bump and
> url_rewrite in order to make dynamic content cache, I've got, sporadically,
> this error in my cache.log:
>
> /assertion failed: Read.cc:69: "fd_table[conn->fd].halfClosedReader !=
> NULL"/
>
> When the error occur, my squid simply stops.
>
> Here is a part of my cache.log:
>
> ---
> 2016/12/28 12:29:17 kid1| assertion failed: Read.cc:69:
> "fd_table[conn->fd].halfClosedReader != NULL"
> 2016/12/28 12:36:21 kid1| Set Current Directory to /proxycache
> 2016/12/28 12:36:21 kid1| Starting Squid Cache version 3.5.19 for
> x86_64-pc-linux-gnu...
> 2016/12/28 12:36:21 kid1| Service Name: squid
> 2016/12/28 12:36:21 kid1| Process ID 15359
> 2016/12/28 12:36:21 kid1| Process Roles: worker
> 2016/12/28 12:36:21 kid1| With 40960 file descriptors available
> 2016/12/28 12:36:21 kid1| Initializing IP Cache...
> 2016/12/28 12:36:21 kid1| DNS Socket created at [::], FD 7
> 2016/12/28 12:36:21 kid1| DNS Socket created at 0.0.0.0, FD 9
> 2016/12/28 12:36:21 kid1| Adding nameserver 172.31.32.12 from
> /etc/resolv.conf
> 2016/12/28 12:36:21 kid1| Adding nameserver 172.31.32.31 from
> /etc/resolv.conf
> 2016/12/28 12:36:21 kid1| Adding domain domain.com from /etc/resolv.conf
> 2016/12/28 12:36:21 kid1| helperOpenServers: Starting 5/32 'ssl_crtd'
> processes
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory
>
> Squid Cache (Version 3.5.19): Terminated abnormally.
> CPU Usage: 0.252 seconds = 0.056 user + 0.196 sys
> Maximum Resident Size: 81088 KB
> Page faults with physical i/o: 13
> 2016/12/28 12:36:24 kid1| Set Current Directory to /proxycache
> 2016/12/28 12:36:24 kid1| Starting Squid Cache version 3.5.19 for
> x86_64-pc-linux-gnu...
> 2016/12/28 12:36:24 kid1| Service Name: squid
> 2016/12/28 12:36:24 kid1| Process ID 15368
> 2016/12/28 12:36:24 kid1| Process Roles: worker
> 2016/12/28 12:36:24 kid1| With 40960 file descriptors available
> 2016/12/28 12:36:24 kid1| Initializing IP Cache...
> 2016/12/28 12:36:24 kid1| DNS Socket created at [::], FD 7
> 2016/12/28 12:36:24 kid1| DNS Socket created at 0.0.0.0, FD 9
> 2016/12/28 12:36:24 kid1| Adding nameserver 172.31.32.12 from
> /etc/resolv.conf
> 2016/12/28 12:36:24 kid1| Adding nameserver 172.31.32.31 from
> /etc/resolv.conf
> 2016/12/28 12:36:24 kid1| Adding domain domain.com from /etc/resolv.conf
> 2016/12/28 12:36:24 kid1| helperOpenServers: Starting 5/32 'ssl_crtd'
> processes
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory
>
> Squid Cache (Version 3.5.19): Terminated abnormally.
> CPU Usage: 0.032 seconds = 0.032 user + 0.000 sys
> Maximum Resident Size: 80624 KB
> Page faults with physical i/o: 0
> 2016/12/28 12:36:27 kid1| Set Current Directory to /proxycache
> 2016/12/28 12:36:27 kid1| Starting Squid Cache version 3.5.19 for
> x86_64-pc-linux-gnu...
> 2016/12/28 12:36:27 kid1| Service Name: squid
> 2016/12/28 12:36:27 kid1| Process ID 15375
> 2016/12/28 12:36:27 kid1| Process Roles: worker
> 2016/12/28 12:36:27 kid1| With 40960 file descriptors available
> 2016/12/28 12:36:27 kid1| Initializing IP Cache...
> 2016/12/28 12:36:27 kid1| DNS Socket created at [::], FD 7
> 2016/12/28 12:36:27 kid1| DNS Socket created at 0.0.0.0, FD 9
> 2016/12/28 12:36:27 kid1| Adding nameserver 172.31.32.12 from
> /etc/resolv.conf
> 2016/12/28 12:36:27 kid1| Adding nameserver 172.31.32.31 from
> /etc/resolv.conf
> 2016/12/28 12:36:27 kid1| Adding domain domain.com from /etc/resolv.conf
> 2016/12/28 12:36:27 kid1| helperOpenServers: Starting 5/32 'ssl_crtd'
> processes
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory
>
> Squid Cache (Version 3.5.19): Terminated abnormally.
> CPU Usage: 0.032 seconds = 0.028 user + 0.004 sys
> Maximum Resident Size: 79904 KB
> Page faults with physical i/o: 0
> 2016/12/28 12:36:30 kid1| Set Current Directory to /proxycache
> 2016/12/28 12:36:30 kid1| Starting Squid Cache version 3.5.19 for
> x86_64-pc-linux-gnu...
> 2016/12/28 12:36:30 kid1| Service Name: squid
> 2016/12/28 12:36:30 kid1| Process ID 15382
> 2016/12/28 12:36:30 kid1| Process Roles: worker
> 2016/12/28 12:36:30 kid1| With 40960 file descriptors available
> 2016/12/28 12:36:30 kid1| Initializing IP Cache...
> 2016/12/28 12:36:30 kid1| DNS Socket created at [::], FD 7
> 2016/12/28 12:36:30 kid1| DNS Socket created at 0.0.0.0, FD 9
> 2016/12/28 12:36:30 kid1| Adding nameserver 172.31.32.12 from
> /etc/resolv.conf
> 2016/12/28 12:36:30 kid1| Adding nameserver 172.31.32.31 from
> /etc/resolv.conf
> 2016/12/28 12:36:30 kid1| Adding domain domain.com from /etc/resolv.conf
> 2016/12/28 12:36:30 kid1| helperOpenServers: Starting 5/32 'ssl_crtd'
> processes
> FATAL: Ipc::Mem::Segment::open failed to
> shm_open(/squid-ssl_session_cache.shm): (2) No such file or directory
> ---
>
> If I disable ssl-bump and url_rewrite, the error does not occur. I saw here
> in the list that this were a bug on squid 3.4, but I'm using squid 3.5.19.
>
> Someone knows how to fix this?
>
> Thanks in advance.
>
>
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Problem-with-ssl-crtd-tp4680998.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
What is the fundamental difference between the programmer and by a fag?
Fag never become five times to free the memory of one object. Fag will
not use two almost identical string libraries in the same project. Fag
will never write to a mixture of C and C ++. Fag will never pass objects
by pointer. Now you know why these two categories so often mentioned
together, and one of them is worse :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161229/728f93c6/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161229/728f93c6/attachment.sig>


More information about the squid-users mailing list