[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Firefox -1 EAGAIN (Resource temporarily unavailable)



Dear: Fellow Debian users;

I have ran across several problems with Firefox, and Iceweasel, or any browser based on Mozilla code. I have run an strace on Firefox and am having problems getting good performance out of my system.

This happens to be an old laptop, with a AMD Duron 800. It seems to work fine except for this issue. It seems to be related to sloppy code in the program, one of the only error's I could find was the "[ffffe410] read(6, 0xafae77c3, 1) = -1 EAGAIN (Resource temporarily unavailable) < 0.000029>"

Since many of you are experts in this type of thing I thought I would pass it by you see how we can solve this problem. Doing a google search on -1 EAGAIN didn' really come up with much, except for a suggestion to use different code.  This seems to be across all Mozilla browser lines, I have not used Konqueror as I really don't want the kde base, as I am limited on drive space.  This was even done with or without flash, seems to be unrelated to plugins, or java. This seems to only be a Mozilla code thing as my window manager, works flawless no slowdown. it seems like when the browser is locking up, I can switch to the window manager and run normal programs fine.

This is a list of things I have tried, did not make any difference.

1.    purged Firefox, reinstalled
2.    removed flash plugings
3.    installed Iceweasel
4.    used memtest86+
5.    update apt-get to make sure I have current software in etch.
6.    init 1, also rebooted make sure it's not a kernel problem.
7.    ran strace.
 
Just a short preview of what happens,

1.    start Firefox, or Iceweasel
2.    surf net, for about 5-10 minutes, no slow down snappy.
3.    Firefox gets laggy, takes 30-40 seconds to open new tabs, takes 20-30
       seconds to goto old tabs. takes 20-40 seconds to see pull down menu's.
4.    Switch to windows manager, which is snappy, look at top, see disk usage swap is not full, memory is not full, no thrashing        the hardrive the light is off.
5.    Kill Firefox, everything is back to normal.
6.    goto 1.

Below is the last part of an strace that I believe reflects the problem. If you want more of the files I would be happy to provide it. The output is large 195492138 bytes long.

[ffffe410] read(3, "\34\370\341q\323\300\2\1\366\0\0\0\36\245Z\263\1\0\0\0"..., 32) = 32 <0.000018>
[ffffe410] read(3, "\34\370\341q\323\300\2\1%\0\0\0\36\245Z\263\1\0\0\0\1\0"..., 32) = 32 < 0.000018>
[ffffe410] read(3, "\34\370\341q\323\300\2\1\362\0\0\0\36\245Z\263\1\0\0\0"..., 32) = 32 <0.000018>
[ffffe410] read(3, "\34\370\341q\323\300\2\1\'\0\0\0\36\245Z\263\1\0\0\0\1"..., 32) = 32 < 0.000018>
[ffffe410] read(3, "\34\370\341q\323\300\2\1\361\0\0\0\36\245Z\263\1\0\0\0"..., 32) = 32 <0.000018>
[ffffe410] read(3, "p\0\342q\1\0\0\1\0\0\0\0\1\0\0\0\365\250Z\263\365\250Z"..., 32) = 32 < 0.000019>
[ffffe410] read(3, "\1\326\343q\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0"..., 32) = 32 <0.000092>
[ffffe410] futex(0x8b31448, FUTEX_WAKE, 1) = 1 <0.000045>
[ffffe410] futex(0x8b31444, FUTEX_WAKE, 1) = 1 < 0.000048>
[ffffe410] read(6, 0xafae77c3, 1)       = -1 EAGAIN (Resource temporarily unavailable) <0.000029>
[ffffe410] futex(0x8b31448, FUTEX_WAKE, 1) = 1 <0.000039>
[ffffe410] futex(0x8b31444, FUTEX_WAKE, 1) = 1 < 0.000074>
[ffffe410] munmap(0x9eff9000, 8392704)  = 0 <0.000065>
[ffffe410] close(21)                    = 0 <0.000038>
[ffffe410] close(6)                     = 0 <0.000036>
[ffffe410] close(7)                     = 0 < 0.000033>
[ffffe410] close(8)                     = 0 <0.000022>
[ffffe410] close(9)                     = 0 <0.000023>
[ffffe410] close(172)                   = 0 <0.000036>
[ffffe410] munmap(0xa4494000, 4096)     = 0 < 0.000048>
[ffffe410] open("/home/acall/.mozilla/firefox/1l9nl9g9.default/formhistory.dat", O_RDWR|O_CREAT|O_TRUNC, 0666) = 6 <0.000143>
[ffffe410] fstat64(6, {st_dev=makedev(3, 7), st_ino=32636, st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000, st_blksize=4096, st_blocks=0, st_size=0, st_atime=2006/11/04-08:11:18, st_mtime=2006/11/04-08:23:53, st_ctime=2006/11/04-08:23:53}) = 0 < 0.000026>
[ffffe410] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa5bd3000 <0.000035>
[ffffe410] _llseek(6, 0, [0], SEEK_SET) = 0 <0.000017>
[ffffe410] write(6, "// <!-- <mdb:mork:z v=\" 1.4\"/> --"..., 3471) = 3471 <0.000103>
[ffffe410] close(6)                     = 0 <0.000030>
[ffffe410] munmap(0xa5bd3000, 4096)     = 0 <0.000037>
[ffffe410] writev(18, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12 < 0.000303>
[ffffe410] close(18)                    = 0 <0.000051>
[ffffe410] writev(10, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12 <0.000275>
[ffffe410] close(10)                    = 0 <0.000046 >
[ffffe410] close(17)                    = 0 <0.000025>
[ffffe410] close(16)                    = 0 <0.000026>
[ffffe410] unlink("/tmp/orbit-acall/linc-11e8-0-15f17d8435fc7") = 0 <0.014949 >
[ffffe410] close(11)                    = 0 <0.000075>
[ffffe410] exit_group(0)                = ?
--------------------------------------------------------------------------------------------------------------------

Now this could be a hardware problem, but I am open to suggestions I mostly use this laptop for surfing, and crunching RC5-72 so I could play with some of your suggestions. I don't consider this fatal, as I could use RSS for most of my surfing, or use wget to download all the pages I frequent.

Gnu_Raiz


Reply to: