Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 22:16:36

Author Topic: Qmail authentication error: Input/output error  (Read 9493 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Qmail authentication error: Input/output error
« on: 2015-04-16, 18:29:32 »
I've started to get " imap4: ERR: authentication error: Input/output errorr", any idea whyi get the errors?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #1 on: 2015-04-16, 18:36:11 »
Inform where this message came from.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #2 on: 2015-04-17, 08:45:09 »
from /var/log/maillog
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #3 on: 2015-04-17, 09:54:57 »
Update your system with 'yum clean all; yum update -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #4 on: 2015-04-18, 23:42:37 »
Did that, but still problems with very high server load.
DB log shows some alarming stuff:

OS WAIT ARRAY INFO: reservation count 455
OS WAIT ARRAY INFO: signal count 377
Mutex spin waits 401, rounds 7269, OS waits 227
RW-shared spins 180, rounds 5329, OS waits 174
RW-excl spins 27, rounds 1685, OS waits 54
Spin rounds per wait: 18.13 mutex, 29.61 RW-shared, 62.41 RW-excl
------------
TRANSACTIONS
------------
Trx id counter 8728139
Purge done for trx's n:o < 8728139 undo n:o < 0 state: running but idle
History list length 982
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 8728135, not started
MySQL thread id 849, OS thread handle 0x7f68cf1b9700, query id 8809 localhost vpopmail cleaning up
---TRANSACTION 8728137, not started
MySQL thread id 848, OS thread handle 0x7f68cf401700, query id 8812 localhost vpopmail cleaning up
---TRANSACTION 8728115, not started
MySQL thread id 846, OS thread handle 0x7f68d17b6700, query id 8761 localhost vpopmail cleaning up
---TRANSACTION 8728113, not started
MySQL thread id 843, OS thread handle 0x7f68cf24b700, query id 8749 localhost vpopmail cleaning up
---TRANSACTION 8728111, not started
MySQL thread id 842, OS thread handle 0x7f68cf649700, query id 8746 localhost vpopmail cleaning up
---TRANSACTION 8728109, not started
MySQL thread id 840, OS thread handle 0x7f68d1525700, query id 8739 localhost vpopmail cleaning up
---TRANSACTION 8728107, not started
MySQL thread id 839, OS thread handle 0x7f68d17ff700, query id 8736 localhost vpopmail cleaning up
---TRANSACTION 8728105, not started
MySQL thread id 837, OS thread handle 0x7f68cf6db700, query id 8729 localhost vpopmail cleaning up
---TRANSACTION 8728128, not started
MySQL thread id 836, OS thread handle 0x7f68d15b7700, query id 8795 localhost vpopmail cleaning up
---TRANSACTION 8728103, not started
MySQL thread id 830, OS thread handle 0x7f68d1692700, query id 8726 localhost vpopmail cleaning up
---TRANSACTION 8728133, not started
MySQL thread id 829, OS thread handle 0x7f68cf56e700, query id 8807 localhost vpopmail cleaning up
---TRANSACTION 8728121, not started
MySQL thread id 827, OS thread handle 0x7f68cf525700, query id 8777 localhost vpopmail cleaning up
---TRANSACTION 8728101, not started
MySQL thread id 822, OS thread handle 0x7f68d1724700, query id 8724 localhost vpopmail cleaning up
---TRANSACTION 8728127, not started
MySQL thread id 821, OS thread handle 0x7f68cf76d700, query id 8793 localhost vpopmail cleaning up
---TRANSACTION 8728131, not started
MySQL thread id 820, OS thread handle 0x7f68d1525700, query id 8801 localhost vpopmail cleaning up
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (read thread)
I/O thread 4 state: waiting for i/o request (read thread)
I/O thread 5 state: waiting for i/o request (read thread)
I/O thread 6 state: waiting for i/o request (write thread)
I/O thread 7 state: waiting for i/o request (write thread)
I/O thread 8 state: waiting for i/o request (write thread)
I/O thread 9 state: waiting for i/o request (write thread)
Pending normal aio reads: 0 [0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0] ,
 ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
7009 OS file reads, 2517 OS file writes, 557 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 2.95 writes/s, 0.90 fsyncs/s

This happens every 15-30 minutes or so.
What's going on?


Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #5 on: 2015-04-19, 08:33:29 »
Need optimize mysql. Install mysqltuner with 'yum install mysqltuner -y' and then run it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #6 on: 2015-04-19, 12:05:08 »
It's just hanging [--] Status: -Archive -BDB -Federated -InnoDB -ISAM -NDBCluster .
I had to interrupt as it slow down the whole system.

But why does the database 'kloxo' still use MyISAM tables?
I converted all to InnoDB a while ago, but still i see .MYD and MYI tables under /var/lib/mysql/kloxo/.
E.g 'show CREATE TABLE IF NOT EXISTS web;' shows ..'
 ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
This is wrong as the tables are still on MyISAM.


Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #7 on: 2015-04-19, 12:21:24 »
Don't care about storage-engine (myisam, innodb, aria, tokudb), file extensions always .MYD, .MYI and .frm.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #8 on: 2015-04-20, 12:12:10 »
Ok.
Looking at CSF logs it seems there are many port flooding on port 25 and 587.
Is there a way to rate limit incoming for these ports using Qmail?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #9 on: 2015-04-20, 12:20:40 »
Ok.
Looking at CSF logs it seems there are many port flooding on port 25 and 587.
Is there a way to rate limit incoming for these ports using Qmail?
Smtp and submission always need username and password to use this feature. Use CSF is useless for smtp and submission port.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #10 on: 2015-04-20, 12:42:01 »
So it's better to create a rule to block when auth for smtp/submission fails after certain counts e.g when i see the following in the maillog:
smtp: 25035 > 535 authentication failed (#5.7.1)?

Ok.
Looking at CSF logs it seems there are many port flooding on port 25 and 587.
Is there a way to rate limit incoming for these ports using Qmail?
Smtp and submission always need username and password to use this feature. Use CSF is useless for smtp and submission port.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #11 on: 2015-04-20, 12:43:43 »
Yes, better use rule.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #12 on: 2015-04-23, 14:59:51 »
The problem is still there:
MySQL thread id 848, OS thread handle 0x7f68cf5b7700, query id 8765 localhost vpopmail cleaning up
---TRANSACTION 8728115, not started
MySQL thread id 846, OS thread handle 0x7f68d17b6700, query id 8761 localhost vpopmail cleaning up
---TRANSACTION 0, not started
MySQL thread id 845, OS thread handle 0x7f68d1649700, query id 8758 localhost vpopmail cleaning up
---TRANSACTION 8728113, not started
MySQL thread id 843, OS thread handle 0x7f68cf24b700, query id 8749 localhost vpopmail cleaning up
---TRANSACTION 8728111, not started
MySQL thread id 842, OS thread handle 0x7f68cf649700, query id 8746 localhost vpopmail cleaning up
---TRANSACTION 8728109, not started
MySQL thread id 840, OS thread handle 0x7f68d1525700, query id 8739 localhost vpopmail cleaning up
---TRANSACTION 8728107, not started
MySQL thread id 839, OS thread handle 0x7f68d17ff700, query id 8736 localhost vpopmail cleaning up
---TRANSACTION 8728105, not started
MySQL thread id 837, OS thread handle 0x7f68cf6db700, query id 8729 localhost vpopmail cleaning up
---TRANSACTION 8728128, not started flushing log

Is the a problem is Maria tuning?

Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Qmail authentication error: Input/output error
« Reply #13 on: 2015-04-23, 15:34:26 »
MariaDb is backward compatible with MySQL. Use mysqltuner for tuning (remember, config file for MariaDB is /etc/my.cnf.d/server.cnf or MariaDB is /etc/my.cnf.d/my.cnf instead /etc/my.cnf.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Qmail authentication error: Input/output error
« Reply #14 on: 2015-04-23, 17:11:02 »
Yes, i've optimized it a while back and still issues.
It seems the problem is probably MyISAM tables and locking issues.
There are too many DBs with MyISAM storage engine. Now i need to start converting to InnoDB.
Why is 'kloxo' using MyISAM? Is it safe to convert kloxo's  to tables to InnoDB?



Kloxo-MR!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.032 seconds with 18 queries.

web stats analysis