Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange processes running on new installation.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 131
Location: Brisbane AU

PostPosted: Thu Mar 28, 2013 4:05 am    Post subject: Strange processes running on new installation. Reply with quote

I've just discovered three strange processes running on my new Gentoo installation that are using all available CPU cycles, and I've no idea what they are or how they were started. Two of them are so early in the process list that I must assume that they're a system utility of some sort, but why they have an ebook viewer and my private browser Index page as parameters I can't figure. Here they are in ps ax:

Code:
2493 pts/16   Sl     4:45 python2.7 /usr/bin/ebook-viewer /ace/htp/Index.html
2503 pts/16   Sl     4:44 python2.7 /usr/bin/ebook-viewer /ace/htp/Index.html
  :
18915 ?        Sl     0:30 python2 /usr/bin/guake


Can anyone enlighten me as to what they are and what they're doing?
Back to top
View user's profile Send private message
phajdan.jr
Developer
Developer


Joined: 23 Mar 2006
Posts: 1767
Location: Poland

PostPosted: Thu Mar 28, 2013 4:08 am    Post subject: Reply with quote

guake is a terminal emulator. I think you must have installed it...

Not sure about ebook-viewer - what's the output of "equery belongs /usr/bin/ebook-viewer" ?
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 131
Location: Brisbane AU

PostPosted: Thu Mar 28, 2013 4:17 am    Post subject: Reply with quote

Code:
bbx10 ~ # equery belongs /usr/bin/ebook-viewer
 * Searching for /usr/bin/ebook-viewer ...
app-text/calibre-0.9.20 (/usr/bin/ebook-viewer)

I'd been looking for a light-weight alternative to Opera and had just installed dwb, surf, jumanji and epiphany. Guake has been installed for several days. I've just rebooted and none of them are now in the process list. I'd hate to think there's malicious code in one of the packages I installed, but the thing was working its way through every link in my link-filled Index page. Curious?
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 131
Location: Brisbane AU

PostPosted: Thu Mar 28, 2013 4:56 am    Post subject: Reply with quote

Here's something that may or may not be related. I'm debugging a Perl script I wrote that, amongst other things, parses emerge.log into a summary format. I used it to examine the last few emerges, and the log has anomalies in it that I hadn't allowed for in coding it. Normally, an emerge starts and ends like this:
Code:
1364439389: Started emerge on: Mar 28, 2013 12:56:29
1364439389:  *** emerge --ask --verbose --usepkg dwb
1364439429:  >>> emerge (1 of 1) www-client/dwb-2012.08.22 to /
1364439429:  === (1 of 1) Cleaning (www-client/dwb-2012.08.22::/usr/portage/www-client/dwb/dwb-2012.08.22.ebuild)
   :
1364439543:  ::: completed emerge (1 of 1) www-client/dwb-2012.08.22 to /
1364439543:  *** Finished. Cleaning up...
1364439548:  *** exiting successfully.
1364439549:  *** terminating.

Prior to emerging dwb, I'd invoked emerge with --ask in different console tabs, and cancelled them until I was ready to proceed. But straight after the dwb emerge, several others started WITHOUT invocation lines. Notice the first timestamp here is the same as the last one above:
Code:
1364439549:  *** terminating.
1364439595:  >>> emerge (1 of 6) sys-libs/libutempter-1.1.5 to /
1364439596:  === (1 of 6) Merging Binary (sys-libs/libutempter-1.1.5::/usr/portage/packages/sys-libs/libutempter-1.1.5.tbz2)
   :

These six packages terminated in 'surf', a previously cancelled invocation, and then move straight into another cancelled emerge, jumanji, and on into epiphany:
Code:
1364439703:  ::: completed emerge (6 of 6) www-client/surf-0.5 to /
1364439703:  *** Finished. Cleaning up...
1364439708:  *** exiting successfully.
1364439709:  *** terminating.
1364439768:  >>> emerge (1 of 1) www-client/jumanji-9999 to /
   :
1364439824:  ::: completed emerge (1 of 1) www-client/jumanji-9999 to /
1364439825:  *** Finished. Cleaning up...
1364439830:  *** exiting successfully.
1364439830:  *** terminating.
1364439882:  >>> emerge (1 of 11) dev-perl/XML-NamespaceSupport-1.110.0 to /
   :
1364440579:  >>> emerge (11 of 11) www-client/epiphany-2.30.6-r1 to /
1364440579:  === (11 of 11) Cleaning (www-client/epiphany-2.30.6-r1::/usr/portage/www-client/epiphany/epiphany-2.30.6-r1.ebuild)
   :
1364441775:  ::: completed emerge (11 of 11) www-client/epiphany-2.30.6-r1 to /
1364441775:  *** Finished. Cleaning up...
1364441781:  *** exiting successfully.
1364441781:  *** terminating.

Now I did reinvoke emerge to install these packages, but the invocation lines aren't present in emerge.log I'm studying this with a view to altering my Perl script, but I'd be intersted to know whether these entries are as expected.
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 131
Location: Brisbane AU

PostPosted: Thu Mar 28, 2013 5:33 am    Post subject: Reply with quote

I've posted my script output here:

http://52midnight.com/gentoo/emerge.log.html

If you jump to the end of the page, you'll clearly see the blank red lines I've had to allow for where there should (?) be invocations.
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 131
Location: Brisbane AU

PostPosted: Thu Mar 28, 2013 5:51 pm    Post subject: Reply with quote

The problem seems to be with Epiphany invoking the ebook viewer as its Source viewer. I've posted a summary of top and ps ax here:

http://52midnight.com/gentoo/Epiphany.html

Haven't seen a repeat of the previous instance of processes early in the px table appearing in top's activity list.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum