• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

website on several web servers ?

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
5 posts • Page 1 of 1

Postby Eminos » Wed Mar 29, 2006 3:20 pm

hi there ..

I was discussing my chat problems with my web server administrator, and it turnes out that my web site host is using several web servers. This is apparently why I can not use things like /dev/shm/ because this directory is individual for the different servers.
I just tried the Shared Memory Container again, and I could clearly see the result of several web servers. When I connect to the chat, and then some hours later reload the page, I turn up connected to a totaly different channel with other history beeing loaded. And again some hours later the same thing; other history; other channel; different web server I guess.

My home directory uses a network drive so it is suposed to be consistency, and not any problem because of the different web servers. But still when using the File Container and the files stored in my home directory, I end up with erased messages.data file every ones in a while ...

Could this problem be related to "several web servers" ? Is there yet an other way I could try ? Maybe yet some other "container" or whatever ? .. I'm willing to try this out and get it fixed, if you give me instructions on how to test it further :)

[EDIT]
Just got an other email from my web host admin, he sad that my problem with the data file beeing erased might do something with the script not beeing "nfs-lock-safe". Hence the file getting overwritten when different processes are using the file simultaniusly. Is this something that can be fixed ? .. He proposed using a MySQL data base instead of the File container.

/Eminos
Last edited by Eminos on Wed Mar 29, 2006 3:41 pm, edited 1 time in total.
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Wed Mar 29, 2006 5:15 pm

Yes it's possible the lock doesn't works well with NFS filesystem, I didn't test it with that.

The mysql container is not yet developped. But it could be a solution to your sevral servers problem.
However, the File container need to be more robust so I will try to debug it with NFS but without garenti to fine a solution ...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Wed Mar 29, 2006 5:20 pm

Ok, thanks ..

Since I'm not a good programmer, maybe someone else can try and do that MySQL Container ? I know kerphi is busy with developement of 1.0 release, so I'm not asking him, but there are several others contributors here that have the knowlegde to do this ..

/Eminos
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby Eminos » Mon Apr 03, 2006 2:06 am

Any progress on the NFS filesystem, kerphi ? If not, do you have a workaround I can use so my history file doesn't get erased ?

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Mon Apr 03, 2006 9:03 am

I will not investiguate on that problem before the 1.0 release.

Why? because I have limited developement forces and the data model has been rewritten in 1.0.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 8 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub