Find the answer to your Linux question:
Results 1 to 3 of 3
Code: enelson@Lin1 ~ $ ps -e | grep dansguardian 1565 ? 00:00:00 dansguardian 1566 ? 00:00:00 dansguardian 1567 ? 00:00:00 dansguardian 1568 ? 00:00:02 dansguardian 1570 ? 00:00:01 dansguardian 1571 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    28

    dansguardian has 35 separate processes!


    Code:
    enelson@Lin1 ~ $ ps -e | grep dansguardian
     1565 ?        00:00:00 dansguardian
     1566 ?        00:00:00 dansguardian
     1567 ?        00:00:00 dansguardian
     1568 ?        00:00:02 dansguardian
     1570 ?        00:00:01 dansguardian
     1571 ?        00:00:01 dansguardian
     1572 ?        00:00:00 dansguardian
     1574 ?        00:00:00 dansguardian
     1575 ?        00:00:00 dansguardian
     1576 ?        00:00:00 dansguardian
     1578 ?        00:00:00 dansguardian
     2309 ?        00:00:00 dansguardian
     2310 ?        00:00:00 dansguardian
     2311 ?        00:00:00 dansguardian
     2312 ?        00:00:00 dansguardian
     2313 ?        00:00:00 dansguardian
     2314 ?        00:00:00 dansguardian
     2315 ?        00:00:00 dansguardian
     2316 ?        00:00:00 dansguardian
     2317 ?        00:00:00 dansguardian
     2318 ?        00:00:00 dansguardian
     2319 ?        00:00:00 dansguardian
     2320 ?        00:00:00 dansguardian
     2338 ?        00:00:00 dansguardian
     2339 ?        00:00:00 dansguardian
     2340 ?        00:00:00 dansguardian
     2341 ?        00:00:00 dansguardian
     2342 ?        00:00:00 dansguardian
     2343 ?        00:00:00 dansguardian
     2344 ?        00:00:00 dansguardian
     2345 ?        00:00:00 dansguardian
     2346 ?        00:00:00 dansguardian
     2347 ?        00:00:00 dansguardian
     2348 ?        00:00:00 dansguardian
     2349 ?        00:00:00 dansguardian
    This isn't the first time i've noticed this, but 35 separate processes is ridiculous. I checked my cron jobs, and it isn't there, so I'm assuming it's in the runlevel-based code executing thing, and on sysv-style init I am completely lost, so i'd rather not mess with that (unless absolutely necessary).

    Any ideas on how to fix this?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,508
    Hard to say (have you asked on the web site?), but my guess is that it is part of the configuration and they are using what can be called "coarse-grained multi-threading" where processes are used instead of threads, so it can handle up to 35 incoming streams at once. Again, this is just a guess, but experience tells me this is likely the case.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Newbie user-f11's Avatar
    Join Date
    Feb 2011
    Location
    Sofia, BG
    Posts
    185
    See in the tree which is which, and which to what is attached.

    $ pstree -u dansguardian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •