I cloned my server version of a Magento install locally. I changed nothing (besides the base url) and it is extremely slow. With extremely I mean loading is almost not possible (up to a minute and more). The version on the server is just fine.
This only affects the frontend. The backend works fine.
I run it on a Mac with MAMP Pro with PHP 5.6.2 and MySQL 5.5.38. Machine is a new macbook pro with 16GB RAM and 2,8 GHz Intel Core i7.
PHP config:
max_execution_time = 600
max_input_time = 600
memory_limit = 512M
MySQL config:
# The MySQL server
[mysqld]
socket = /Applications/MAMP/tmp/mysql/mysql.sock
key_buffer = 1024M
max_allowed_packet = 512M
table_cache = 1024
sort_buffer_size = 4096K
net_buffer_length = 512K
read_buffer_size = 4096K
read_rnd_buffer_size = 4096K
myisam_sort_buffer_size = 1024M
log = /Applications/MAMP/logs/mysql_sql.log
[mysqldump]
quick
max_allowed_packet = 256M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 8M
write_buffer = 8M
[myisamchk]
key_buffer = 64M
sort_buffer_size = 64M
read_buffer = 8M
write_buffer = 8M
Other sites on this Mac run just fine and fast.
Magento cache is activated and the indexes and the cache are up to date.
What could cause this?