Help figuring out why Linux CUPS keeps dying, uses encryption
by jcun4128 from LinuxQuestions.org on (#5PZ2P)
I got a CUPS remoter printer setup with encryption.
I'm using Lets Encrypt to generate a cert, then I symlinked them to the /etc/cups/ssl/... location since using cat even as sudo said permission denied. I'm forwarding the domain with NGINX.
Anyway it works, it has https and the prints make it... however the cups service seems to keep dying.
Where the printers will no longer appear in the browser options to print.
I don't know why, I'm looking at cups error log there does not seem to be anything obvious.
I initially did have problems with host name but I added a ServerAlias.
I'm not sure what it could be. The server isn't beefy but it's the only thing it's running, 1 CPU core, 1GB of RAM and at this time there are only 2 printers/barely used/mostly idle.
After a while the cups service says it's inactive and I have to restart cups.
Any ideas?
As an aside, I've been using a CUPS printer (unencrypted) with the same EC2 spec and it has been running without problems for a couple months now so I think it's something with my encryption setup...
Ahh crap, I just checked, the other one has 2GB of RAM maybe it is running out of memory
It also takes longer to restart cups on this smaller/encrypted CUPS server. The resource usage is not that high though, it's just under 200M/974M
The plot thiccens
Attached Thumbnails
I'm using Lets Encrypt to generate a cert, then I symlinked them to the /etc/cups/ssl/... location since using cat even as sudo said permission denied. I'm forwarding the domain with NGINX.
Anyway it works, it has https and the prints make it... however the cups service seems to keep dying.
Where the printers will no longer appear in the browser options to print.
I don't know why, I'm looking at cups error log there does not seem to be anything obvious.
I initially did have problems with host name but I added a ServerAlias.
I'm not sure what it could be. The server isn't beefy but it's the only thing it's running, 1 CPU core, 1GB of RAM and at this time there are only 2 printers/barely used/mostly idle.
After a while the cups service says it's inactive and I have to restart cups.
Any ideas?
As an aside, I've been using a CUPS printer (unencrypted) with the same EC2 spec and it has been running without problems for a couple months now so I think it's something with my encryption setup...
Ahh crap, I just checked, the other one has 2GB of RAM maybe it is running out of memory
It also takes longer to restart cups on this smaller/encrypted CUPS server. The resource usage is not that high though, it's just under 200M/974M
The plot thiccens
Attached Thumbnails