Jump to content











Photo
* * * - - 2 votes

My friend came back


  • Please log in to reply
13 replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 05 May 2008 - 03:10 PM

Currently I'm feeling very happy.

A good old friend came back: The 'Internal Server Error'

Last days (or weeks?) I did not see him anywhere. I was assuming that he died silently.

But today: He appeared in the middle of my screen and spoke a long time withe me. I think about 5 minutes! Great!

Peter

#2 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 May 2008 - 03:52 PM

Guess we need more php optimizations to improve the efficiency of MySQL or get an exclusive dedicated server (which is expensive)


I could buy a good server machine from the US (they're very affordable since the US vs EURO rates dropped) but where would it be placed? At my workplace there isn't enough bandwidth to support such big demand as we have on this site at this moment (>40Gb per day) and renting some rack space from a datacenter located in Europe is simply too expensive to consider this as an option.

I've been looking for solutions some time ago to solve this dreaded annoyance (resources for mySQL is our only server weak point) but I think that the best approach is installing some PHP acceleration techniques to cache the often repetitive actions and this way save CPU/RAM resources so that the Error 500 messages go away.

---------------------------

Would there be a volunteer for this task of improving the site efficiency?

Maybe someone experienced with remote administration of debian based servers?

:lol:

#3 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 05 May 2008 - 04:00 PM

Guess we need more php optimizations to improve the efficiency of MySQL or get an exclusive dedicated server (which is expensive)


I could buy a good server machine from the US (they're very affordable since the US vs EURO rates dropped) but where would it be placed? At my workplace there isn't enough bandwidth to support such big demand as we have on this site at this moment (>40Gb per day) and renting some rack space from a datacenter located in Europe is simply too expensive to consider this as an option.

I've been looking for solutions some time ago to solve this dreaded annoyance (resources for mySQL is our only server weak point) but I think that the best approach is installing some PHP acceleration techniques to cache the often repetitive actions and this way save CPU/RAM resources so that the Error 500 messages go away.

---------------------------

Would there be a volunteer for this task of improving the site efficiency?

Maybe someone experienced with remote administration of debian based servers?

:lol:

Nuno!

Please understand my post as kidding.

You are doing a great job. And the environment you created is really sufficient for a non - commercial and non - sponsored forum.
Please do never think about to spending (your) money for increasing some properties of the forum!

And BTW: As I said: 'A good old friend'. And I like my friends and their properties.

Due to PHP: I'm sorry that I cannot help you here. My PHP knowledge is comparable with my Dutch knowledge:
If I hear (read) it slowly and detailled, I understand most.
But speaking is reduced to some items.

Peter

#4 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 May 2008 - 04:25 PM

I know your kidding but my worry is mySQL/PHP efficiency - I know that the forum software could be optimized to use much less resources but I lack enough experience to make the changes myself.

One could risk doing them based on trial & error but then again this could prove to be a bad experience in the first place and the site could get into complications.

Time for me to learn more about php - maybe during the summer time.

:lol:

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2008 - 06:02 PM

there isn't enough bandwidth to support such big demand as we have on this site at this moment (>40Gb per day)

You've gotta be kidding me! 40GB per day? With just the handful of contributor here, that must be a new world record in leeching! :lol:

:thumbup:

#6 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 May 2008 - 10:35 PM

I'm not kidding - bandwidth sums around 1Tb per month.

We are providing hosting for big sized projects - liveXP. for example, uses 11Gb per day

The second biggest bandwidth consumer is nuhi from nlite (12Gb/day), he asked for help some time ago and I provided support since a year ago. But he doesn't even mention boot land on his link page since he considers our pages to have "too much competition". I don't think that it's right to help people that think this way, will inform him to find another host provider.

#7 ilko

ilko

    Silver Member

  • Advanced user
  • 500 posts
  •  
    Bulgaria

Posted 06 May 2008 - 12:45 AM

Hi,

On our 3 servers (all debian etch) we are using eAccelerator. Installation is straightforward and the results seem good. There are a few sites with benchmark results:
http://eaccelerator....wiki/BenchTroll

You can see how to install on their site, or use my notes for Apache2/PHP5:

cd /usr/local; wget http://bart.eacceler...or-0.9.5.2.zip; unzip eaccelerator-0.9.5.2.zip; cd accelerator-0.9.5.2
make clean; /usr/bin/phpize; ./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config; make; make install

- edit the php config file
nano /etc/php5/apache2/php.ini

- add this:

; php eaccelerator
extension="eaccelerator.so"
eaccelerator.shm_size="48"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

mkdir /var/cache/eaccelerator; chmod 0777 /var/cache/eaccelerator
/etc/init.d/apache2 restart

Instead of making it 0777, you may change /var/cache/eaccelerator owner to the same user your PHP runs as (www-data ?) and chmod 0644.

Something important- if you update your PHP, you will have to recompile eAccelerator.
cd /usr/local/eaccelerator-0.9.5.2

make clean; /usr/bin/phpize; ./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config; make; make install

/etc/init.d/apache2 restart

Otherwise it detects PHP version change and won't load, as a result Apache won't start too. I keep forgetting that and on apt-get upgrade wonder why the heck Apache is down.

It may be worth a try, hope that's what you were looking for.
Just in case- the above works for us, I am a relatively new to linux world and cannot guarantee anything. Please don't blame me if site goes down if you have any troubles using the above :lol:

#8 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 06 May 2008 - 01:10 AM

I'm not kidding - bandwidth sums around 1Tb per month.

We are providing hosting for big sized projects - liveXP. for example, uses 11Gb per day

Wow, that depresses me. So many people, who 'like' what we're doing and practicly noone who contributes. :lol:

The second biggest bandwidth consumer is nuhi from nlite (12Gb/day), he asked for help some time ago and I provided support since a year ago. But he doesn't even mention boot land on his link page since he considers our pages to have "too much competition".

Yes, no good deed goes unpunished! :thumbup:

And to hijack this thread a little.
When i get a email about a new post to a thread i discribed to, i will also get the new post in the email.
But in a email about a new PM, where it would make much more sense to include the message there's nothing.
I would really like it, if there were a way to get the message of the PM in the email too, since the forum has one big 'bug'.
When i log in on a friday afternoon after 2 weeks, to just quick check a PM and then log out again, because i have no time, then all posts are automaticly marked as read and on saturday, i can't tell the new from the old posts anymore. :thumbup:
And no, that's not just an example, this happend to me a few weeks ago. :thumbup:


:thumbup:

#9 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 06 May 2008 - 05:19 AM

But he doesn't even mention boot land on his link page since he considers our pages to have "too much competition".

Doesnt seem very fair on his part to think that way or not to mention a Site that is helping out. Specially if that other site/forum admin doesnt mind someone mentioning there site.


lol! psc. You had me going by the tittle.

#10 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 06 May 2008 - 08:56 AM

Thank you Ilko, that seems the way to go.

Will use your notes as base and adapt them to our case.

But in a email about a new PM, where it would make much more sense to include the message there's nothing.
I would really like it, if there were a way to get the message of the PM in the email too, since the forum has one big 'bug'.


For the moment I don't know how to fix this "feature" since the board software doesn't include it by default. I remember reading about it some time ago and other people mentioned that if the PM was included in the email notification then it would simply become a true email rather than personal message.

Perhaps you can help me. If you look on IPB related sites like invisionize maybe you find a solution for the requested modification so that we can apply it.

lol! psc. You had me going by the tittle.


That's true! :lol:

#11 benxhi

benxhi

    Member

  • Tutorial Writer
  • 87 posts
  • Location:Shkup
  •  
    Albania

Posted 19 May 2008 - 06:05 PM

well do you know what i think ?
I think you should notify Nlite author Nuhi and tell him to find another man!! ;)
because 1 tb for a month is a big amount of data so think a little 12 gb a day for 30 makes 360 gigs if you can tell that to Nuhi than there you go 0.74 TB :)That should be better :thumbup:
That should do it.

/benxhi :thumbup:

#12 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 27 August 2008 - 07:04 PM

Today he came back again.

And he brought his whole family with him.

It looks like that I have only 10 percent or less chance to look into the forum.

All the other time I must speak with him or with one of his family.

Usually I want to decide to whom I speak!

Peter

#13 CrazyComputerMan

CrazyComputerMan

    Newbie

  • Members
  • 13 posts
  •  
    United Kingdom

Posted 29 August 2008 - 08:50 AM

What about Donate features? I don't seem them in here! That will help you

#14 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 29 August 2008 - 08:58 AM

We should hopefully have this issue solved for good soon enough without resorting to donations.

:whistling:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users