Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Tom L

Pages: [1]
1
Utilities / controlling stunnel as if it were a daemon
« on: May 17, 2021, 02:40:06 pm »
Hi guys, I have a serious issue on a production system, I would appreciate any help anyone can give.

I am using Paul's stunnel port on ArcaOS 5 to provide TLS to a http server. Everything works well, except, occasionally, CPU will spike to 100% and stunnel has to be restarted. Then things are fine again for a couple of hours. I tried newer versions of the stunnel port, but they only make it worse.

I will open a ticket with Paul, but I need a workaround. On OS/2, stunnel will not run as a daemon/service, so I presume I cannot assign a PID to it and then kill it at will. I am launching it like this: stunnel.exe stunnel.conf

Even with debug = 7 (highest), there is nothing in the log that would as much as hint at what might be turning stunnel into a CPU hog.  :(

Is there a way I could automate the restarts? What I am doing now is: log on thru VNC, click in the stunnel window, press Ctrl-C and run it again.

Meta:

ArcaOS 5.0.6 EN
stunnel 5.50 on i386-pc-os2-emx
Lotus Domino Go 4.6.2.5

Pages: [1]