We're Hiring!

Server slowed down or hanging

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: Server slowed down or hanging

Postby Akramhar » Tue Aug 20, 2013 5:38 pm

I will PM you the link to access the file.

Hope you can help me.
Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

Re: Server slowed down or hanging

Postby manics » Tue Aug 20, 2013 5:59 pm

Thanks Alex

The ordering of the entries in pg_hba.conf is important- postgres will attempt to authenticate a user with the first matching line. Can you try moving the line ending with ident to below the lines ending with md5?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Server slowed down or hanging

Postby Akramhar » Tue Aug 20, 2013 6:59 pm

I will try it asap and I will let you know if it works.

Thank you
Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

Re: Server slowed down or hanging

Postby Akramhar » Thu Aug 22, 2013 4:55 pm

Hi,

I tried to modify the file as you suggest, I hope I did it correctly.
You can look at the modified file at the same link I sent you.
The file is labeled as "pg_hba_2.conf".

If I modified the file correctly, the solution you proposed is not working.
I get always the same error.

Thanks for your help.
Best,

Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

Re: Server slowed down or hanging

Postby manics » Thu Aug 22, 2013 7:43 pm

Thanks Alex.

Could you try passing the -h option to psql, e.g.:
Code: Select all
psql -h localhost dbname username


There are two ways of connecting to the Postgres server: via a network connection, or using a local socket, and it's possible for them to use different authentication mechanisms. OMERO requires the former. Without the '-h hostname' psql will attempt to use the latter- sorry for not spotting this earlier.

Simon
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Server slowed down or hanging

Postby Akramhar » Thu Aug 29, 2013 10:42 pm

Sorry for the late answer.

I tried
Code: Select all
psql -h localhost dbname username

and it is working.

The major issue should be solved because of the line moved in the configuration file, am I right?

Thanks for your patience.
Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

Re: Server slowed down or hanging

Postby manics » Mon Sep 02, 2013 8:36 am

Hi Alex

Yes, it looks like your database is setup correctly. If you have any further problems post them here and we'll try and help you out.
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Server slowed down or hanging

Postby Akramhar » Mon Sep 09, 2013 3:57 pm

Hi,

It seems that we still have problems.

At the end of the last week some users reported a slow down of the service, they had to wait a long time for insight to load data from the server. The problem lasted a couple of hours.

Today a user told me that the server was not accessible. I tried it and neither insight nor the web service were able to access the server. The web server was not even reachable (endless loading).

Do you need that I put the new log online?

Thank you for your help.
Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

Re: Server slowed down or hanging

Postby manics » Mon Sep 09, 2013 4:33 pm

Hi Alex

If you could zip up the log directory and put them online again that would be most helpful. Could you also tell us what dates/times the slowdowns occurred, to make it easier for us when going through the logs?

Thanks

Simon
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Server slowed down or hanging

Postby Akramhar » Sat Sep 14, 2013 12:11 am

I uploaded the logs in the same location where I told you last time.
The following problems happened:

slow down - friday 6.9.2013
server non accessible - monday 9.9.2013

Tell me if you need more information.
Thanks for your help.
Alex
Akramhar
 
Posts: 13
Joined: Wed Aug 07, 2013 8:59 pm

PreviousNext

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest