Skip to content

Instantly share code, notes, and snippets.

@mindjiver
Last active August 29, 2015 13:56
Show Gist options
  • Save mindjiver/9007766 to your computer and use it in GitHub Desktop.
Save mindjiver/9007766 to your computer and use it in GitHub Desktop.
chef
postfix 14610 1080 0 18:05 ? 00:00:00 pickup -l -t fifo -u
root 14628 582 0 19:44 ? 00:00:00 sshd: root@pts/0
root 14630 14628 0 19:44 pts/0 00:00:00 -bash
root 14643 14630 0 19:44 pts/0 00:00:00 ps -fA
root 16307 1 0 2013 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 16309 16307 0 2013 ? 00:01:29 nginx: worker process
root 19000 601 0 Feb01 ? 00:00:00 CROND
root 19001 19000 0 Feb01 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 19014 19001 0 Feb01 ? 00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 19019 19014 0 Feb01 ? 00:00:00 chef-client worker: ppid=19014;start=20:02:32;
root 19181 601 0 Feb02 ? 00:00:00 CROND
root 19182 19181 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 19197 19182 0 Feb02 ? 00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 19202 19197 0 Feb02 ? 00:00:00 chef-client worker: ppid=19197;start=00:02:32;
root 19393 601 0 Feb02 ? 00:00:00 CROND
root 19394 19393 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 19407 19394 0 Feb02 ? 00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 19412 19407 0 Feb02 ? 00:00:00 chef-client worker: ppid=19407;start=04:02:32;
root 19514 601 0 Feb02 ? 00:00:00 CROND
root 19515 19514 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 19528 19515 0 Feb02 ? 00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 19533 19528 0 Feb02 ? 00:00:00 chef-client worker: ppid=19528;start=08:02:32;
root 19789 601 0 Feb02 ? 00:00:00 CROND
root 19790 19789 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 19803 19790 0 Feb02 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 19808 19803 0 Feb02 ? 00:00:00 chef-client worker: ppid=19803;start=12:02:32;
root 20127 601 0 Feb02 ? 00:00:00 CROND
root 20128 20127 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 20141 20128 0 Feb02 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 20146 20141 0 Feb02 ? 00:00:00 chef-client worker: ppid=20141;start=16:02:33;
root 20239 601 0 Feb02 ? 00:00:00 CROND
root 20240 20239 0 Feb02 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 20253 20240 0 Feb02 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 20258 20253 0 Feb02 ? 00:00:00 chef-client worker: ppid=20253;start=20:02:33;
root 21061 601 0 Feb03 ? 00:00:00 CROND
root 21062 21061 0 Feb03 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 21077 21062 0 Feb03 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 21082 21077 0 Feb03 ? 00:00:00 chef-client worker: ppid=21077;start=00:02:32;
root 21314 601 0 Feb03 ? 00:00:00 CROND
root 21315 21314 0 Feb03 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 21328 21315 0 Feb03 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 21333 21328 0 Feb03 ? 00:00:00 chef-client worker: ppid=21328;start=04:02:33;
root 21525 601 0 Feb03 ? 00:00:00 CROND
root 21526 21525 0 Feb03 ? 00:00:00 /bin/bash -c /bin/sleep 150; /usr/bin/chef-client &> /dev/null
root 21539 21526 0 Feb03 ? 00:00:01 /opt/chef/embedded/bin/ruby /usr/bin/chef-client
root 21544 21539 0 Feb03 ? 00:00:00 chef-client worker: ppid=21539;start=08:02:33;
[root@rodchenko ~]#
[root@rodchenko ~]# crontab -l
# Chef Name: chef-client
SHELL=/bin/bash
0 */4 * * * /bin/sleep 150; /usr/bin/chef-client &> /dev/null
[root@rodchenko ~]# chef-client
[2014-02-14T19:45:37+00:00] FATAL: Errno::ENOMEM: Cannot allocate memory - fork(2)
[root@rodchenko ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment