LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 12:28 AM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
How to kill apaches performance purposly.


I'd want to know how to make apache serve pages like it's being served on a .01bps connection.

Or, reccemend any other server that can be made to do this.

I'd like to do this so it seems like it's being served off an ancient computer thats 1.5mhz

Think it's an interesting project for you guru's ;-)
 
Old 07-28-2003, 12:36 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Any specific reason or just to do it?

How about serving it off of a dial up using a 14.4k modem?

Not too hard to do that now is it?

You could also just toss in some huge bmp background image, make it the same color as the background so it's not even appearing to load, and it will seem as if it's just taking a long time to finish loading...

Honestly though, I don't wanna give you any real tactics as this truly sounds malicious as it could have no 'real' value that I'm aware of...

Cool
 
Old 07-28-2003, 12:47 AM   #3
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Well... to be honest... I have a site up at http://www.ne2600.org/webserver.php (claims to be a TRS 80 tandy 2.4mhz) (this is going to load slow, as you'll read below and find out why

and I want the website to actually load slowly (like the current site is.... what we've done is killed the server with tons of useless processes and we're also hosting voicechat on it which kills the connection too)

But, this renders the system useless.... I mean, gnome is locked up for instance... can't even move the mouse... (it seems to make apache give the slow effect though!)


I don't wanna do this to the proccessor though, i mean it cant be good for the system itself... and plus, I'm wasting a perfectly good system!


I figured there is a home brewed webserver out there that allows you to configure the speed it is sent to the user or something.


This is not malitious in any way. It's a joke... and it's just a project me and my friends have been doing for a while now.

I'd much rather limit the webserver itself rather than put a crappy modem on it or something.. (plus i'm on dsl)

Quote:
To be honest with you masterc, of course there is no real purpose to this, except for fun
Thanks for the imput

Last edited by jon_k; 07-28-2003 at 12:51 AM.
 
Old 07-28-2003, 05:25 AM   #4
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
lol, man I love it!

check out this. I think it might be exactly what you need


Especially I'm looking at the "BW_tx2cred_rate: sets the maximum rate of serving bytes (bytes/second)." business.

EDIT: or maybe mod_throttle?

Last edited by Gantrep; 07-28-2003 at 05:27 AM.
 
Old 07-28-2003, 05:32 AM   #5
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Hey I had another idea. You're using a dynamic language. Fool around some and I bet you could get a way for it to serve up partial pages with a nice CARRIER LOST at the end and make the user hit reload a couple times(use cookies to detect how many reloads) before the full site actually comes through....

ok, I think it's my bedtime now.
 
Old 07-28-2003, 05:42 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Just checked out your site

mod_throttle certainly sounds like it'd be what you want, but will it actually work/fit on that box?

I still am leaning towards the 14.4k though, you could rig up something on a local lan to only output at 14.4 k I would think (though I wouldn't know how).

I'll poke around and see if anything that tiny and pretty much self-capable exists.

Cool
 
Old 07-28-2003, 06:22 AM   #7
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
OK, its not an issue man... I have all the space and processing power I need. its hard to explain, but trust me...

so limitations aren't an issue.

(edit)
OK I'm installing mod throttle, see if this can do what i'm looking for, will get back to the thread soon

Last edited by jon_k; 07-28-2003 at 06:31 AM.
 
Old 07-28-2003, 06:53 AM   #8
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
I think i'm going to use the dynamic carrior loss idea with php.

Any detailed ideas on how to do this, I'm not too good with php
 
Old 07-29-2003, 12:26 AM   #9
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
If you email the site source to gantrep@yahoo.com I'll take a look at it.

I have to say though, while I think the "hosted on a TRS-80" idea is funny, I don't understand the purpose of your site. 2600 magazine HAS a site already....

Last edited by Gantrep; 07-29-2003 at 12:29 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 04:47 PM
Multiple Apaches wwnexc Linux - Software 5 11-03-2005 09:53 AM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
parsing apaches errorlogs pollo Linux - Newbie 0 03-29-2005 06:18 AM
WHOA silver any apaches here wass29 Linux - Software 3 02-07-2003 01:29 PM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration