Closed
Bug 607654
Opened 14 years ago
Closed 4 years ago
X resource/connections clean up not being correctly done - "Maximum number of clients reached" and "Error: cannot open display"
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: rainefan, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101013 Ubuntu/10.10 (maverick) Firefox/3.6.11
Build Identifier: version 3.6.11 ubuntu 10.10
I'm suffering from 'Maximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0.0' errors launching firefox and other X resource allocation problems on kde based apps due to thunderbird hogging this resources.
Using command '$ sudo ls -1 /proc/`pidof X`/fd | wc -l' i've found that at the time firefox output the above error message the total handlers (fd's) allocated at that time were at '255'. Couldn't launch firefox or other apps. So i started closing running apps and looking again at the command above. For my surprise, and luckly, i've chosen thunderbird to be the first one to close, and voila, the command above output 77 whick means thunderbird was holding '255-77=178' connections without closing them.
Restarting thunderbird and monitoring via above command, showed that it used just one or two resources.
I use 'minimize to tray plus' extension and let it minimized for all day use. I think during 2 or 3 days opened, gets into this problem...
I've two accounts registered on thunderbird:
- IMAP + SSL/TLS on gmail (google)
- IMAP no encryption to a corporate MS Exchange 2007
After 30 min of use thunderbird resources went up to 16.
I've used the below command to find thunderbird X used resources:
$ xwininfo -root -children|grep Thunderbird|wc -l
Thanks for the support!
Regards,
Raine
Reproducible: Sometimes
Steps to Reproduce:
1. Let thunderbird minimized on ubuntu 10.10 linux 64-bit with kde desktop 4.5.2 running during many days and X connection (resources),
2. Or trying to figure out the internal X resource allocation leak.
Actual Results:
Can't launch any X application, not even xterminal
Expected Results:
Free X resources/connetions correctly with exhausting X resources pool
Couln't find any thunderbird log nor even on '.thunderbird/' home directory nor in messages logfile or .xsessions-errors.
Just complementing the above post, i'll return in some days to post the listing from:
$ xwininfo -root -children|grep Thunderbird
As of this writing, the bellow command listing:
$ xwininfo -root -children|grep Thunderbird
0x420008c "Sent - eduardo.juan@cma.com.br - Mozilla Thunderbird": ("Mail" "Thunderbird") 1680x1006+0+0 +0+0
0x421d7f8 "Thunderbird": ("Popup" "Thunderbird") 455x1047+973+0 +973+0
0x4208ed8 "Thunderbird": ("Popup" "Thunderbird") 246x330+973+676 +973+676
0x4208e6b "Thunderbird": ("Popup" "Thunderbird") 216x98+757+676 +757+676
0x4208d40 "Thunderbird": ("Popup" "Thunderbird") 228x414+529+480 +529+480
0x4218dd9 "Write: (no subject)": ("Msgcompose" "Thunderbird") 1362x886+0+0 +0+0
0x42396ed "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396ea "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396e7 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396e4 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396e1 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396de "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396d3 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42396d0 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x4218cd9 "Thunderbird": ("Popup" "Thunderbird") 196x24+1338+534 +1338+534
0x423573f "Thunderbird": ("Popup" "Thunderbird") 88x24+577+371 +577+371
0x4225b4d "Thunderbird": ("Popup" "Thunderbird") 116x88+993+752 +993+752
0x4225a15 "Thunderbird": ("Popup" "Thunderbird") 181x196+777+796 +777+796
0x4224ed3 "Thunderbird": ("Popup" "Thunderbird") 216x98+777+720 +777+720
0x4224e54 "Thunderbird": ("Popup" "Thunderbird") 154x196+730+771 +730+771
0x4218fdc "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x4218fd9 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x4218fce "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x4218cdf "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 200x200+0+0 +0+0
0x4213f80 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 1x1+-100+-100 +-100+-100
0x4213bc7 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 1x1+-100+-100 +-100+-100
0x4210e72 "Thunderbird": ("Popup" "Thunderbird") 108x98+408+868 +408+868
0x42108d8 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42010c9 "Thunderbird": ("Popup" "Thunderbird") 262x304+222+43 +222+43
0x420b024 "Thunderbird": ("Popup" "Thunderbird") 159x120+268+43 +268+43
0x42012ad "Thunderbird": ("Popup" "Thunderbird") 249x372+153+43 +153+43
0x42064da "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 1x1+-100+-100 +-100+-100
0x4205773 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x4203972 "Thunderbird": () 10x10+-100+-100 +-100+-100
0x4203971 "Thunderbird": () 10x10+-100+-100 +-100+-100
0x42014d7 "Thunderbird": ("Popup" "Thunderbird") 160x304+37+43 +37+43
0x4201407 "Thunderbird": ("Popup" "Thunderbird") 202x326+76+43 +76+43
0x420135f "Thunderbird": ("Popup" "Thunderbird") 195x120+120+43 +120+43
0x420011b "Thunderbird": () 1x1+0+0 +0+0
0x42000d7 "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42000d4 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 200x200+0+0 +0+0
0x42000cc "Thunderbird": ("Popup" "Thunderbird") 200x200+0+0 +0+0
0x42000b0 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 200x200+0+0 +0+0
0x4200094 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 200x200+0+0 +0+0
0x4200093 "Thunderbird": () 10x10+-100+-100 +-100+-100
0x4200092 "Thunderbird": () 10x10+-100+-100 +-100+-100
0x4200091 "Thunderbird": () 10x10+-100+-100 +-100+-100
0x4200072 (has no name): ("Toplevel" "Thunderbird") 200x200+0+0 +0+0
0x4200001 "Thunderbird": ("thunderbird-bin" "Thunderbird-bin") 10x10+10+10 +10+10
As you can see, there is 32 open handles/resources/connections, since yesterday post.
There is something to do with Popup manager...
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Component: General → OS Integration
Ever confirmed: true
QA Contact: general → os-integration
Comment 3•7 years ago
|
||
Raine,
Do you still see this issue?
No other Thunderbird reports of this. In firefox I find bug Bug 362955 - Firefox makes X run out windows - and bug 263160 (which is mostly about iframes but pop ups are also mentioned)
Flags: needinfo?(rainefan)
See Also: → 362955
Summary: X resource/connections clean up not being correctly done → X resource/connections clean up not being correctly done - "Maximum number of clients reached" and "Error: cannot open display"
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(rainefan)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•