Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU Usage #4222

Closed
michaelrsweet opened this Issue Nov 7, 2012 · 4 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Copy link
Collaborator

michaelrsweet commented Nov 7, 2012

Version: 1.3.7
CUPS.org User: tahder

Hi,

It is the first time that we used to get this issue of high cpu usage (if someone printing a file) that leads the whole server hanging.

I'm still investigating why it happens, it started the other week and changes the configurations of cups but still no effects like the following:
Timeout 1200
MaxJobs 500
PreserveJobFiles Off
AutoPurgeJobs Yes
FilterLimit 200

Any suggestions, using CentOS release 5.5 (Final) and Cups 1.3.7 (to be exact).

Regards,
Mario

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 8, 2012

CUPS.org User: mike

What process is consuming all of the CPU?

Are you able to provide a debug CUPS error_log file? You can enable debug logging with "cupsctl --debug-logging"...

Thanks!

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 9, 2012

CUPS.org User: tahder

The file is too big (are you referring to /var/log/cups/error_log) about 487MB and still growing every seconds, dunno know how it happens probably of the LogLevel debug which now i change it to LogLevel info (more or less this got where started, i guess)

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 9, 2012

CUPS.org User: tahder

I used to modified the error logs, coz it can't be uploaded as mentioned earlier too big.

Regarding with the process no idea how it became unstable, which caused the server 100% cpu usage and what you can do is to restart it (you can't do warm boot or using ctl+alt+del).

Thanks.

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 10, 2012

CUPS.org User: mike

Mario,

It looks like a local client is bombarding your server with connect/disconnect sequences. which is causing the CPU load.

Also, the messages that are getting logged are not part of the standard CUPS release; I don't know whether that is contributing to the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.