electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » electro-music.com
Our server is slow...
Post new topic   Reply to topic
Page 1 of 1 [18 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Mon Aug 09, 2004 2:20 pm    Post subject: Our server is slow... Reply with quote  Mark this post and the followings unread

Our server has been slow lately. Not really the server, but we are on a slow network which we share with a friend. Not much I can do about it in the immediate future, but I'm in the process of migrating to a new server. Maybe in a week we'll be running on it. It'll mean the forum will be down for a few hours when we actually make the switch, but it should be worth it.

I'll announce the move about 48 or 24 hours before we make the change, assuming the testing goes well.

Does anyone volunteer to help test out the new server? It will entail posting and reading messages to make sure it has good responsiveness and all that. I'll set up a test forum on the new site with a copy of the database.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
play



Joined: Feb 08, 2004
Posts: 490
Location: behind the mustard
Audio files: 2

PostPosted: Mon Aug 09, 2004 7:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

I should be around for that. I mostly lurk on the board all day anyway ::)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Mon Aug 09, 2004 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks...

Hmmm... I found a db configuration error which I just fixed. Seems to have speeded up post submission considerably. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Oskar



Joined: Jul 29, 2004
Posts: 1714
Location: Norway

PostPosted: Wed Aug 11, 2004 12:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

mosc wrote:
Thanks...

Hmmm... I found a db configuration error which I just fixed. Seems to have speeded up post submission considerably. Smile


Well done, Sir!
I'm technologically inept, so I'm probably not able to help out much, but I was wondering - and this might be a VERY silly question as I haven't acquainted myself with the whole forum - should we contribute financially to the moving operation?

_________________
Where there are too many policemen, there is no liberty. Where there are too many soldiers, there is no peace. Where there are too many lawyers, there is no justice.
Lin Yutang (1895-1976)
Back to top
View user's profile Send private message
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Wed Aug 11, 2004 12:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oskar wrote:
should we contribute financially to the moving operation?


I'm quite honored that several people have asked how they can contribute financially to the forum. Right now, if anyone feels compelled to contribute, just contact me via PM. I will eventually put a a contribute button in the store. In the meantime you can buy CDs at the store, and if you live in the USA you can click throught to Musicians Friend from the front page when you next need to buy a musical instrument or supplies. For now, I can handle the incremental costs of the new server myself, thanks to an anonymous supporter and a supportive wife.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Wed Aug 11, 2004 6:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

You have fixed an error already?? Great!
What makes the server slow? Graphics ?
I once made a sus´ystem in webdna that would send all graphics to an external server.. or .. actually.. many external servers.
The scheme was this:

a directory structure for all grahics files
a mirroring function to an external graphics server(s)
all incoming files were added to the local dicretory structure and served from this location
a database for the graphics
a mirroring function using ftp .. later "Retrospect ftp service "
the database checked for local and external files and all files existsing both places were served from external sources ...

This meant that 99.99 of all outbound traffic from the "main" server was text only.
I later set up a system for duplicate external servers and a system for administering a kind of semiintelligent load distribution
In a way.. that is done here already, but I wonder if this is not possibly to extend in some way

_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Wed Aug 11, 2004 7:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's not graphics, and like you suggested elsewhere it's not the database. The main problem is long delays in posting messages. The screen refresh seems to hang after the data base has been written. The system does a lot of stuff after a post has been loaded - updates counters, indexes, sends email notifications, etc. Maybe there is some bug in all this.

What I fixed was optimizing the database, but I don't think that does too much to speed up the posting operation.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Wed Aug 11, 2004 7:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

What else is running on the server? The main system is php.. and do you have something runing on the server that could slow down the execution of the PHP?
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Wed Aug 11, 2004 7:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I won't get into that here. But most of the time the cpu is loafing. When I observer slow posting, it's independent of cpu load.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Wed Aug 11, 2004 8:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hmm.. weird. I guess this does not apply here.. but I have seen dynamic web site coding ( not php ) that for some reason messed about with client state excessively.. and this could make the code exceution run very slowly. but you don´t really have any client side stuff going on here at all do you?
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Wed Aug 11, 2004 8:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Anyway.. I am waiting for the OS X Server 10.4 update. That one comes with a community chat server too. Any interest in a electro-music.com instant messenger service?
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Wed Aug 11, 2004 8:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, there is precious little client side stuff on PHPBB. That's nice, obviously. Laughing
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Wed Aug 11, 2004 8:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Great,,, obviusly.. Very Happy
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12010
Location: Firenze, Italy
Audio files: 31
G2 patch files: 2

PostPosted: Thu Aug 12, 2004 4:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

mosc wrote:
The main problem is long delays in posting messages.

tip:
when the server is slow and you are waiting for the posting to complete DO NOT click "submit" once more otherwise your message will be posted twice but after waiting a few seconds simply click on (for example):
Forum Index  -> electro-music.com -> Our server is slow...
and most of the time you'll see that your post has already been posted
Very Happy

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Thu Aug 12, 2004 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good tip. I've been doing that but I'm concerned about the wait. It should not wait. It seems that it does sometimes. I just made some big database server adjustments. I hope that helps. Even if we are moving off of this server within a few weeks, it's good learning experience. It will apply on any server we end up on...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12010
Location: Firenze, Italy
Audio files: 31
G2 patch files: 2

PostPosted: Tue Aug 17, 2004 1:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

just for the fun of it:
open 2 windows on the forum of electro-music.com
on window A write a post and click "submit". While you are waiting to see that one appear go to window B and click "View posts since last visit". You'll see that the abovementioned post is already there.
Am I the Editor or what Question Shocked

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Tue Aug 17, 2004 1:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah... I know. Howard and I have been discussing this a lot. When I first noticed this I thought it was caused by me sobering up. I am happy to tell that this was not the case.
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21954
Location: Norway
Audio files: 14

PostPosted: Tue Aug 17, 2004 1:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Anyway... ignore that one.. Shocked
_________________
A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"

MySpace
SoundCloud
Flickr
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [18 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » electro-music.com
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Niio2

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use