Skip to content

Service logs filled with 'ps' related error #446

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

Closed
PaulVipond opened this issue May 23, 2018 · 1 comment
Closed

Service logs filled with 'ps' related error #446

PaulVipond opened this issue May 23, 2018 · 1 comment
Labels
Request Request for image modification or feature

Comments

@PaulVipond
Copy link

PaulVipond commented May 23, 2018

I'm getting lots of instances of this error in the logs for my postgresql service based on postgres:9.6.9-alpine:

data_postgresql.1.ft2gof5jci25@IS-57436 | ps: bad -o argument 'command', supported arguments: user,group,comm,args,pid,ppid,pgid,etime,nice,rgroup,ruser,time,tty,vsz,stat,rss

The errors aren't generated by any other containers using Postgres services, as they occur when the other containers aren't running. Googling around, I believe this may be fixed by using an enhanced version of 'ps' as follows because Alpine has a more limited version:

apk --no-cache add procps

Could this be included in future builds?

This might be related to an excess CPU consumption issue I've been having as the CPU is thrashed as it continually tries to execute the 'ps' command.

https://dba.stackexchange.com/questions/207589/excessive-postgres-docker-cpu-consumption

I haven't finished fully investigating the issue yet, so will update with my conclusions when done.

@wglambert wglambert added the Request Request for image modification or feature label May 24, 2018
@tianon
Copy link
Member

tianon commented Sep 6, 2018

As noted on stack overflow, you've been hacked: https://dba.stackexchange.com/a/207636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

3 participants