I have one page where users can import their contacts. Initially it was working fine upto 3000 contacts but when I tried to import 10000 contacts it started taking too much time and now the situation is that for even 100 contacts it is taking too much time. I tried in mysql
my.cnf
file and increased the max packet size to 256 mb. My php.ini
max upload limit is 512 mb, memory limit is 512 mb. I tried several methods to solve this problem but no success.
my.cnf
:
[mysqld]
set-variable = max_connections=500000
log-slow-queries
safe-show-database
local-infile=0
max_allowed_packet=256M
I also tried to increase buffer limit, cache limit but no success there either.