Writings Photos Code Contact Resume Me
Website

The drupal database optimization day.

Submitted by msameer on Wed, 22/11/2006 - 3:07pm.

The server was really screaming yesterday. I was trying to understand why.
I thought it was the aggregator module. I did some profiling for the aggregator SQL queries and while I'm at it, I did the same for some other modules and here we go: Here, here, here and here.
I'll be applying them too to the drupal sites I'm hosting whether they like it or not!


The spammer or a DoS attack ? Doesn't really matter.

Submitted by msameer on Sun, 10/09/2006 - 8:55pm.

So, I'm still a hardcore GNU/Linux administrator after all ?!

Apache "The webserver" is down. Looks like the master process gets killed by the kernel. That's weird.

Now what's interesting is the dmesg output:


Dipping my nose more into drupal.

Submitted by msameer on Sun, 25/06/2006 - 12:17pm.

I've got my Drupal CVS account. I'll give the article module some love.
And My first commit!


Back to apache.

Submitted by msameer on Tue, 21/03/2006 - 2:58pm.

lighttpd was doing fine but sometimes it doesn't start after the logrotation, I'm lazy to write a script to fix this plus, I miss the apache mod_security to filter out some SPAM comments. I'm using an old package from backports.org, Maybe it was fixed in a later package but it's not there for debian yet.


Damn the spammer.

Submitted by msameer on Fri, 03/03/2006 - 9:29pm.

I'm not sure how he's bypassing the captcha module and I don't have time now to dig. I disabled the captcha and I'll have to approve the comments manully as I used to.

Under:

Drupal patch monkey, Remember me patch to drupal HEAD

Submitted by msameer on Fri, 03/03/2006 - 3:10am.

Well, I ported the patch to drupal CVS HEAD which 4.7 ATM per moshe's request. Looks like I did hit another thing. Might be my stupidity, Might be something wrong. We'll see!

PS. Patch is also in my CVS ;-)


A new theme...

Submitted by msameer on Fri, 24/02/2006 - 9:56pm.

Probably you can notice that ;-)

I still have to do a few things with javascript, Maybe I won't.

I guess I like the new colors, Someone deserves a big thank you for the basic logo especially when you know that she did the drawing on my iPAQ using the stylus. The rest was created using The GIMP and emacs. Emacs, The past, Present and future.


Lighty powering foolab.org

Submitted by msameer on Sun, 19/02/2006 - 12:58am.
Yes, I've discovered that Lighttpd is now in Debian, I grabbed the sarge backport from backports.org and here it is!
Probably you won't notice anything, Maybe the server'll be a bit faster. But for me, I can serve more requests now as lighty is more lightweight than Apache ;-)
Graphs ? Generated every minute. ;-)


As you can see, I don't have much requests but why not use something that can allow me to expand ? :-)
Probably I won't leave the graphs for long, I'm just enjoying the rrdtool module of lighttpd!

وداعا 2005

Submitted by msameer on Mon, 02/01/2006 - 3:12pm.

ساصر على الكتابة بالعربية هذه المرة

عام 2005 لم يكن عاما عاديا بلنسبة لى
بل كان مشحونا بالاحداث و النجاح و الفشل و القلق و الحزن و ...