This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Postgres errors filling logs, high cpu load

Hi there,

I realized, that our Firewalls are very slow due to CPU load of 97%-99% caused by filling-up system-log with postgres errors:

...

2016:07:26-15:14:40 firewall-1 postgres[30097]: [3-1] ERROR: function ins_websecurity(unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, integer, integer, integer, bigint) does not exist at character 8

2016:07:26-15:14:40 firewall-1 postgres[30097]: [3-2] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2016:07:26-15:14:40 firewall-1 postgres[30097]: [3-3] STATEMENT: select ins_websecurity($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14::int4, $15::int4, $16::int4, $17::int8)
...

...and so on, almost every 3 seconds

Checking the logs shows, that this error came up after Installing 9.402-7 (on May 13th 2016).
Right now the dual SG-230 HA system runs on actual 9.404-5

Any hints to correct this very quickly? 
I need more speed right now, because in 2 days, there will be the whole VOIP connect to the firewall... 

tnx and meeow!

Clyde



This thread was automatically locked due to age.
Parents
  • Although this will delete the data in the data bases and graphs, Clyde, it's the only way to fix your issue.  If you're uncomfortable doing this yourself, ask Sophos Support.  As root at the command line: /etc/init.d/postgresql92 rebuild

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Hello Bob,

    ...and again you saved my day! I rebuilt the database with the command, and everything is fine again, CPU load went down to 9%. Nice!

    Thanks a lot, have a good day too!

    cheers

    Clyde

    <big-meeow>

    __________________
    System-Administrator
    Astaro-User since Dez.2009
    2 x SG230-HA (Fw. V9.x)

Reply
  • Hello Bob,

    ...and again you saved my day! I rebuilt the database with the command, and everything is fine again, CPU load went down to 9%. Nice!

    Thanks a lot, have a good day too!

    cheers

    Clyde

    <big-meeow>

    __________________
    System-Administrator
    Astaro-User since Dez.2009
    2 x SG230-HA (Fw. V9.x)

Children
No Data