Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209167 > unrolled thread
| Started by | Paul Sutton <zleap@disroot.org> |
|---|---|
| First post | 2019-05-26 12:30 +0200 |
| Last post | 2019-05-26 16:20 +0200 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
Diagnosing what applications are doing Paul Sutton <zleap@disroot.org> - 2019-05-26 12:30 +0200
Re: Diagnosing what applications are doing Jonas Smedegaard <jonas@jones.dk> - 2019-05-26 13:10 +0200
Re: Diagnosing what applications are doing Gene Heskett <gheskett@shentel.net> - 2019-05-26 16:30 +0200
Re: Diagnosing what applications are doing Jonas Smedegaard <jonas@jones.dk> - 2019-05-26 16:40 +0200
Re: Diagnosing what applications are doing Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-06-15 08:30 +0200
Re: Diagnosing what applications are doing Jonas Smedegaard <jonas@jones.dk> - 2019-06-15 09:30 +0200
Re: Diagnosing what applications are doing Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-06-15 18:30 +0200
Re: Diagnosing what applications are doing Reco <recoverym4n@enotuniq.net> - 2019-05-26 13:40 +0200
Re: Diagnosing what applications are doing Paul Sutton <zleap@disroot.org> - 2019-05-26 16:20 +0200
| From | Paul Sutton <zleap@disroot.org> |
|---|---|
| Date | 2019-05-26 12:30 +0200 |
| Subject | Diagnosing what applications are doing |
| Message-ID | <y1YzE-78P-1@gated-at.bofh.it> |
Hi On my netbook, Thunderbird seems really unstable, it stars up fine then seems to stall and fails to respond, it eventually picks up. I usually goto a terminal and type killall thunderbird. I can usually also minimise thunderbird, but maximising it, ends up with the top of the application bar only and the rest of the application is not maximised properly. Is there a program that I can run to try and figure out what it is doing ? I am sure there is but not sure what I would be looking for even with searching. In a similar way to using time, which tells how long a program has run for, I guess I need some sort of memory or cpu trace to see what Thunderbird is doing to behave this way. Chances are it will be rather incomprehensible, but at least it could be something I can post here, ( well pastebin if huge output ) so others can take a look. In the meantime I have removed my usenet account from the netbook, as i don't use it, on the netbook enough to justify having. Thanks Paul -- Paul Sutton http://www.zleap.net https://www.linkedin.com/in/zleap/ gnupg : 7D6D B682 F351 8D08 1893 1E16 F086 5537 D066 302D
[toc] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-26 13:10 +0200 |
| Message-ID | <y1Zcl-7B4-9@gated-at.bofh.it> |
| In reply to | #209167 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Paul Sutton (2019-05-26 12:28:43) > On my netbook, Thunderbird seems really unstable, it stars up fine > then seems to stall and fails to respond, it eventually picks up. I > usually goto a terminal and type killall thunderbird. > > I can usually also minimise thunderbird, but maximising it, ends up > with the top of the application bar only and the rest of the > application is not maximised properly. > > Is there a program that I can run to try and figure out what it is > doing ? I am sure there is but not sure what I would be looking for > even with searching. > > In a similar way to using time, which tells how long a program has > run for, I guess I need some sort of memory or cpu trace to see what > Thunderbird is doing to behave this way. > > Chances are it will be rather incomprehensible, but at least it could > be something I can post here, ( well pastebin if huge output ) so > others can take a look. > > In the meantime I have removed my usenet account from the netbook, as > i don't use it, on the netbook enough to justify having. To monitor in real time what steal most ressources, install and run atop. Hit C/M/D/N to sort by cpu/memory/disk/net, or A to auto-sort. To monitor both in real time and collect data in the background to later analysis (e.g. to examine past minutes _after_ Thunderbird has crashed), install pcp and run "pcp atop" for real time view To inspect what happens with Thunderbird itself, I guess you should look in the menus of the application for ways to open a log window... - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Date | 2019-05-26 16:30 +0200 |
| Message-ID | <y22jU-XK-9@gated-at.bofh.it> |
| In reply to | #209168 |
On Sunday 26 May 2019 07:05:45 am Jonas Smedegaard wrote: > Quoting Paul Sutton (2019-05-26 12:28:43) > > > On my netbook, Thunderbird seems really unstable, it stars up fine > > then seems to stall and fails to respond, it eventually picks up. > > I usually goto a terminal and type killall thunderbird. > > > > I can usually also minimise thunderbird, but maximising it, ends up > > with the top of the application bar only and the rest of the > > application is not maximised properly. > > > > Is there a program that I can run to try and figure out what it is > > doing ? I am sure there is but not sure what I would be looking for > > even with searching. > > > > In a similar way to using time, which tells how long a program has > > run for, I guess I need some sort of memory or cpu trace to see > > what Thunderbird is doing to behave this way. > > > > Chances are it will be rather incomprehensible, but at least it > > could be something I can post here, ( well pastebin if huge output ) > > so others can take a look. > > > > In the meantime I have removed my usenet account from the netbook, > > as i don't use it, on the netbook enough to justify having. > > To monitor in real time what steal most ressources, install and run > atop. Hit C/M/D/N to sort by cpu/memory/disk/net, or A to auto-sort. > > To monitor both in real time and collect data in the background to > later analysis (e.g. to examine past minutes _after_ Thunderbird has > crashed), install pcp and run "pcp atop" for real time view > > To inspect what happens with Thunderbird itself, I guess you should > look in the menus of the application for ways to open a log window... > One thing that will "freeze" it is using its own download facilities to fetch the mail, used to bug me pretty badly, but when it did come back, everything I had typed into a message came back with it. So I offloaded that fetching of emails by making fetchmail, procmail, clamscan and spamassassin all into background tasks that have minimal effect on kmail. Now my freezes are maybe a second as it sorts an incoming email that has servived the spam and viri filters. I can elaborate if there is interest, > > - Jonas Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-26 16:40 +0200 |
| Message-ID | <y22tz-10U-5@gated-at.bofh.it> |
| In reply to | #209176 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Gene Heskett (2019-05-26 16:25:43) > On Sunday 26 May 2019 07:05:45 am Jonas Smedegaard wrote: > > > Quoting Paul Sutton (2019-05-26 12:28:43) > > > On my netbook, Thunderbird seems really unstable, it stars up > > > fine then seems to stall and fails to respond, it eventually > > > picks up. [...] > One thing that will "freeze" it is using its own download facilities > to fetch the mail, used to bug me pretty badly, but when it did come > back, everything I had typed into a message came back with it. So I > offloaded that fetching of emails by making fetchmail, procmail, > clamscan and spamassassin all into background tasks that have minimal > effect on kmail. Now my freezes are maybe a second as it sorts an > incoming email that has servived the spam and viri filters. Good point! (this is Thunderbird not KMail but still applies) For IMAP mail, I recommend more modern alternatives to fetchmail: * pullimap * offlineimap (there are more alternatives that I don't recommend) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Erik Josefsson <erik.hjalmar.josefsson@gmail.com> |
|---|---|
| Date | 2019-06-15 08:30 +0200 |
| Message-ID | <y9aml-2sP-1@gated-at.bofh.it> |
| In reply to | #209178 |
[Multipart message — attachments visible in raw view] — view raw
On 5/26/19 4:36 PM, Jonas Smedegaard wrote: > Quoting Gene Heskett (2019-05-26 16:25:43) >> On Sunday 26 May 2019 07:05:45 am Jonas Smedegaard wrote: >> >>> Quoting Paul Sutton (2019-05-26 12:28:43) >>>> On my netbook, Thunderbird seems really unstable, it stars up >>>> fine then seems to stall and fails to respond, it eventually >>>> picks up. > [...] >> One thing that will "freeze" it is using its own download facilities >> to fetch the mail, used to bug me pretty badly, but when it did come >> back, everything I had typed into a message came back with it. So I >> offloaded that fetching of emails by making fetchmail, procmail, >> clamscan and spamassassin all into background tasks that have minimal >> effect on kmail. Now my freezes are maybe a second as it sorts an >> incoming email that has servived the spam and viri filters. > Good point! (this is Thunderbird not KMail but still applies) > > For IMAP mail, I recommend more modern alternatives to fetchmail: > > * pullimap > * offlineimap Could you recommend one of them to use with an install of the box-add-gui alternative for Teres-I? As far as I can see, pullimap needs libconfig-tiny-perl and libinterimap, and offlineimap needs python-imaplib2 and python-socks. Perhaps one is more lightweight than the other? Best regards. //Erik
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-06-15 09:30 +0200 |
| Message-ID | <y9bip-30R-1@gated-at.bofh.it> |
| In reply to | #209920 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Erik Josefsson (2019-06-15 08:24:40) > On 5/26/19 4:36 PM, Jonas Smedegaard wrote: > > Quoting Gene Heskett (2019-05-26 16:25:43) > >> On Sunday 26 May 2019 07:05:45 am Jonas Smedegaard wrote: > >>> Quoting Paul Sutton (2019-05-26 12:28:43) > >>>> On my netbook, Thunderbird seems really unstable, it stars up > >>>> fine then seems to stall and fails to respond, it eventually > >>>> picks up. > > [...] > >> One thing that will "freeze" it is using its own download > >> facilities to fetch the mail, used to bug me pretty badly, but when > >> it did come back, everything I had typed into a message came back > >> with it. So I offloaded that fetching of emails by making > >> fetchmail, procmail, clamscan and spamassassin all into background > >> tasks that have minimal effect on kmail. Now my freezes are maybe > >> a second as it sorts an incoming email that has servived the spam > >> and viri filters. > > Good point! (this is Thunderbird not KMail but still applies) > > > > For IMAP mail, I recommend more modern alternatives to fetchmail: > > > > * pullimap > > * offlineimap Correction: My recommendations are _interimap_ and offlineimap. pullimap is related to interimap but does a different task of client-side sending emails from an IMAP folder, e.g. on a self-hosted server with IMAP service but no SMTP service (SMTP is more complex to self-host due to spam and domain registry challenges). > Could you recommend one of them to use with an install of the > box-add-gui alternative for Teres-I? I recommend them for use with Debian systems, regardless of how they were bootstrapped. I have not yet used interimap myself, but have high expectations for its quality and encouraged its author to get it packaged for Debian a year ago, where I sought advice from him on my own Dovecot-specific sync scripts and he told about interimap being developed but not in Debian. He actually lives in Sweden like you, Erik. :-) When I get around to using it myself I will likely add it to one of the addon profiles of the https://box.redpill.dk/ images but not the gui profile specifically: It is a command-line tool, not graphical. > As far as I can see, pullimap needs libconfig-tiny-perl and > libinterimap, and offlineimap needs python-imaplib2 and python-socks. > > Perhaps one is more lightweight than the other? interimap should be more efficient but requires a good IMAP server like Dovecot (see package description) whereas offlineimap works with a wider variety of servers including Gmail. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Erik Josefsson <erik.hjalmar.josefsson@gmail.com> |
|---|---|
| Date | 2019-06-15 18:30 +0200 |
| Message-ID | <y9jJ0-82T-5@gated-at.bofh.it> |
| In reply to | #209921 |
[Multipart message — attachments visible in raw view] — view raw
On 6/15/19 9:27 AM, Jonas Smedegaard wrote: > When I get around to using it myself I will likely add it to one of the > addon profiles of thehttps://box.redpill.dk/ images but not the gui > profile specifically: It is a command-line tool, not graphical. > > >> As far as I can see, pullimap needs libconfig-tiny-perl and >> libinterimap, and offlineimap needs python-imaplib2 and python-socks. >> >> Perhaps one is more lightweight than the other? > interimap should be more efficient but requires a good IMAP server like > Dovecot (see package description) whereas offlineimap works with a wider > variety of servers including Gmail. > Which email client comes with the Teres-I tui profile? Maybe I should just start to use that and drop gui email when I have learned how to live with tui email. Best regards. //Erik
[toc] | [prev] | [next] | [standalone]
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Date | 2019-05-26 13:40 +0200 |
| Message-ID | <y1ZFn-7KK-1@gated-at.bofh.it> |
| In reply to | #209167 |
Hi. On Sun, May 26, 2019 at 11:28:43AM +0100, Paul Sutton wrote: > Is there a program that I can run to try and figure out what it is doing > ? I am sure there is but not sure what I would be looking for even with > searching. perf trace -p <thunderbird pid here> ltrace -p <thunderbird pid here> strace -p <thunderbird pid here> There are more sophisticated tools for the task, but these three are usually enough for me. Reco
[toc] | [prev] | [next] | [standalone]
| From | Paul Sutton <zleap@disroot.org> |
|---|---|
| Date | 2019-05-26 16:20 +0200 |
| Message-ID | <y22ad-Uq-1@gated-at.bofh.it> |
| In reply to | #209169 |
On 26/05/2019 12:32, Reco wrote: > Hi. > > On Sun, May 26, 2019 at 11:28:43AM +0100, Paul Sutton wrote: >> Is there a program that I can run to try and figure out what it is doing >> ? I am sure there is but not sure what I would be looking for even with >> searching. > perf trace -p <thunderbird pid here> > > ltrace -p <thunderbird pid here> > > strace -p <thunderbird pid here> > > There are more sophisticated tools for the task, but these three are > usually enough for me. > > Reco Great stuff, than you for all this, will install those packages and try figure out what thunderbird is up to. Regards Paul -- Paul Sutton http://www.zleap.net https://www.linkedin.com/in/zleap/ gnupg : 7D6D B682 F351 8D08 1893 1E16 F086 5537 D066 302D
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web