[squid-users] Problem with ssl_crtd
Eduardo Carneiro
eduardoocarneiro at gmail.com
Wed Dec 28 17:16:26 UTC 2016
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.
More information about the squid-users
mailing list