My Grey Cells Burning

Sunday, May 06, 2007
It's all just a simple hack and exploit..



Source image: somewhere from google image search.

First begin with my bloody firefox on old i686 machine had started the netstat bug zombie process greppable by ps -ef chain of command after upgrading to 7.04 Feisty. I hate zombie. They stupid and eat a lot of cpu cycle rendering slowness to my machine.

Fix with firefox --sync -a (got it from some Ubuntuforums) did help me.. well for a while. After quote some time, the zombie had returned and haunts the other apps which running concurrently sharing the cpu cycle and theres a fat zombie eating a lot oif cpu cycle, things that they had shared together. "Fuck the zombie", said the Xorg. "I should be the one who should eat a lot than you guys. I served you guys (xmms, bittorrent, gaim etc..) to be clicked and manipulated and serve the one who are typing this crazy essay right now. Yes, it's you damn it!! Fix it you &*^%$#$@%", said the Xorg to me.

And I am astounded as to the puzzled mind searching for good reason to explain how the hell that damn application is cursing me. I should filed this bug to Xorg developer right now to explain to me how the hell their application is cursing me. They should teach their app some manners. But then I still got something else to do first.

Well. Now that the Xorg had challenged me, I will teach that bastard. Whipped up terminal, ps -ef | grep Xorg && sudo kill -9 4637; exit.

Oo.. wrong move. you ass.

(After reboot...)

Ok. be sane. whipped up a joint.. err.. terminal, click on firefox, waiting for the firefox to start......ok.

Still got the netstat zombie. You bastard.

Typing firefox --help will list:

zarxcky@penguin:~$ firefox --help
Usage: /usr/lib/firefox/firefox-bin [ options ... ] [URL]
where options include:

X11 options
--display=DISPLAY X display to use
--sync Make X calls synchronous
--no-xshm Don't use X shared memory extension
--xim-preedit=STYLE
--xim-status=STYLE
--g-fatal-warnings Make all warnings fatal

Mozilla options
-height Set height of startup window to .
-h or -help Print this message.
-width Set width of startup window to .
-v or -version Print Firefox version.
-P Start with .
-ProfileManager Start with Profile Manager.
-UILocale Start with resources as UI Locale.
-contentLocale Start with resources as content Locale.
-safe-mode Disables extensions and themes for this session.
-jsconsole Open the Error console.
-browser Open a browser window.
-inspector Open the DOM inspector.
Usage: firefox [-flags] []

Ok. lets try add -browser to the previous command so that it look like this:

firefox --sync -browser -a &

# sudo killall firefox
# firefox --sync -browser -a &

Voila! No more zombies. Now open a firefox with 15 colourful tabs doing many streaming tasks on 1Mpbs Streamyx line and process maintains around 60-70% from top output and much much more important is.. there are no more zombie.

top - 05:18:01 up 9:20, 6 users, load average: 1.28, 1.36, 1.35
Tasks: 94 total, 2 running, 92 sleeping, 0 stopped, 0 zombie
Cpu(s): 34.6%us, 4.8%sy, 1.5%ni, 57.9%id, 0.9%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 516156k total, 506004k used, 10152k free, 5388k buffers
Swap: 1212408k total, 138676k used, 1073732k free, 185248k cached

5129 zarxcky 25 0 407m 149m 29m R 53.7 29.7 59:56.99 firefox-bin
4637 root 15 0 306m 93m 8040 S 10.7 18.5 100:14.34 Xorg
5161 zarxcky 15 0 129m 36m 10m R 1.8 7.3 16:55.28 /usr/bin/gnome-
1 root 18 0 2912 448 448 S 0.0 0.1 0:01.71 init


Take that Xorg!! hehehe...

Now back to build the hardened LAMP...

Hey! I listen to :

Labels:

posted by zarxcky @ 5/06/2007 04:11:00 AM  
2 Comments:
  • At 5/09/2007 7:30 PM, Anonymous Anonymous said…

    dude, what is this sh*t you are smoking right now? i want some!

     
  • At 5/11/2007 2:14 AM, Blogger zarxcky said…

    t's called terminal my friend.. terminal.. not anything else other than terminal without X..

    He He He He..

     
Post a Comment
<< Home
 
About Me
Previous Post
Archives
Links
Comrades
Syndicates