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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-27-2003, 11:28 PM
|
#1
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Rep:
|
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 ;-)
|
|
|
07-27-2003, 11:36 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-27-2003, 11:47 PM
|
#3
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Original Poster
Rep:
|
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-27-2003 at 11:51 PM.
|
|
|
07-28-2003, 04:25 AM
|
#4
|
Member
Registered: Feb 2003
Distribution: Slackware
Posts: 78
Rep:
|
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 04:27 AM.
|
|
|
07-28-2003, 04:32 AM
|
#5
|
Member
Registered: Feb 2003
Distribution: Slackware
Posts: 78
Rep:
|
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.
|
|
|
07-28-2003, 04:42 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
 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
|
|
|
07-28-2003, 05:22 AM
|
#7
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Original Poster
Rep:
|
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 05:31 AM.
|
|
|
07-28-2003, 05:53 AM
|
#8
|
Member
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547
Original Poster
Rep:
|
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
|
|
|
07-28-2003, 11:26 PM
|
#9
|
Member
Registered: Feb 2003
Distribution: Slackware
Posts: 78
Rep:
|
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-28-2003 at 11:29 PM.
|
|
|
All times are GMT -5. The time now is 07:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|