After reboot some time proxy server not starting

Hi every one , i notice a strange behaver of my firewall,
I am using IPFire 2.25 (x86_64) - Core Update 156 , and after a schedule reboot some time ( it dont help always) it dont start the webproxy service.
I am using the SquidClamav and URL filter

I cant find any error only one that’s the: ntpdate error but dont seems to give me problem.

What am I missing or why is the webproxy stopping?
Do someone have this same problem?

Thanks in advance Neopegasus

Hi Neopegasus,
may too many redirectors and too less RAM ? Somewhere and OOM in the logs ? Did you checked the cache.log ?

Best,

Erik

Hey Erik , thanks for your help, I have 8gb of Ram should be enough I think?
but what I saw, with your help and pointing me in the right direction is this:

  Page faults with physical i/o: 0
2021/05/19 03:10:06 kid1| Logfile: closing log stdio:/var/log/squid/access.log
2021/05/19 03:10:06 kid1| Open FD READ/WRITE    8 redirect_wrapper #1
2021/05/19 03:10:06 kid1| Open FD READ/WRITE   10 redirect_wrapper #2
2021/05/19 03:10:06 kid1| Open FD READ/WRITE   12 redirect_wrapper #3
2021/05/19 03:10:06 kid1| Open FD READ/WRITE   14 redirect_wrapper #4
2021/05/19 03:10:06 kid1| Squid Cache (Version 4.14): Exiting normally.
2021/05/19 03:10:06| Removing PID file (/var/run/squid.pid)
2021/05/19 03:10:06| Current Directory is /
2021/05/19 03:10:06| Current Directory is /
2021/05/19 03:12:30| Created PID file (/var/run/squid.pid)
2021/05/19 03:12:30| FATAL: Squid is already running: Found fresh instance PID file (/var/run/squid.pid) with PID 3422
    exception location: Instance.cc(121) ThrowIfAlreadyRunningWith

at the time I have my scheduled reboot, it shutdown every thing ok then it start it as normal around a minute later also normal and then out of the blue it start it again and then this happen ( what you see before).

it looks like it cant recognise that its a service runing already and then everything go blank.

Hi everyone, on the last reboot I hade the problem again.
Is it not a way for watchdog to make sure the proxy server start good or don’t do a parallel proxy and crash?:thinking:

Known issue since 156 was released. It has been reported to development. I too have quite a few doing it. I have to wake up early every day and check all my firewall installs and restart the proxy manually. Its been an annoying month plus.
Some say if you change proxy port from default it works, mine were default and i changed it to another and yet it still does it. I changed my daily reconnects and reboots so it wont reboot now and yet a few still act like they did and i have to log in and restart the proxy every day before anyone can work. It has severely disrupted my sleeping habit.
I have 10 duplicate machines loaded with the same version of 156 and same setup of proxy and ports etc. everything is the same hardware and software, the only difference are the public ip and which 192.168.x they use (all are connected by ipsec). Yet 2 still do it after i stopped any time checks,reboots and reconnects

Under which ID has this bug report been filed?

https://bugzilla.ipfire.org/show_bug.cgi?id=12623

There is another thread covering the same topic
https://community.ipfire.org/t/proxy-problem-after-upgrade-to-core-155-the-proxy-server-is-refusing-connections/5020?u=bonnietwin

I didn’t find the other post’s when I started not being able to fix it, but thanks @bonnietwin , to point me to other options.

I tried something new in de weekend, and that’s only having proxy on green, and wait for my schedule reboot to see what it does, today was the reboot and didn’t give a problem.

I still can’t onderstand but time will tell.

I have a schedule reboot only ones a week, so today it went ok , i will check how it went next time.

Best regards Neopegasus

Just a small update, I did some test and most of the time it only works on the next reboot after that it will come back to the same problem , need a manual restart of webproxy.

As in this post :https://community.ipfire.org/t/proxy-problem-after-upgrade-to-core-155-the-proxy-server-is-refusing-connections/5020/13 it had been report-it, I will just wait for a fix.
In the meanwhile i will check what i can do and find.

Thanks for the good help