[squid-users] Problem with ssl_crtd

Eliezer Croitoru eliezer at ngtech.co.il
Thu Dec 29 00:07:43 UTC 2016


Depends on what is causing the issue.
What bug report are you writing about? Do you have a specific one that you have seen?

Also if you can disable CONNECT requests from url_rewrite it might solve an issue or two.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il


-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Eduardo Carneiro
Sent: Wednesday, December 28, 2016 7:16 PM
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Problem with ssl_crtd

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



More information about the squid-users mailing list