Jump to content

KSC vs LXC in Proxmox


bmr

Recommended Posts

Version of your operating system:

  • Host: Debian 11 /  Proxmox-ve 7.4.17
  • CT: openSUSE 15.5 (4 cores / RAM 4096 / unprivileged: 1 / nested: 0)

Name and version number of the Kaspersky application:

  • KSC 15 (installed with ksc64-15.0.0-12912.x86_64.rpm)

Explain in details the nature of your problem.

Hello!

I'm trying to use KSC in a Proxmox's comtainer. For now, using exactly the same method and configuration, everything is working as expected in a QEMU VM.

In a CT, `kladminserver_srv` wont start because of errors around DB's variables configuration.

table_open_cache=60000
table_open_cache_instances=4

But:

show global variables like 'table_open_cache%';
+----------------------------+-------+
| Variable_name              | Value |
+----------------------------+-------+
| table_open_cache           | 16293 |
| table_open_cache_instances | 1     |
+----------------------------+-------+

As explained in the KB, I use a file to configure them (correctly sourced at MariaDB start):

cat << EOF > /etc/my.cnf.d/ksc_db.cnf
[mysqld]
sort_buffer_size=10M
join_buffer_size=100M
join_buffer_space_limit=300M
join_cache_level=8
tmp_table_size=512M
max_heap_table_size=512M
key_buffer_size=200M
innodb_buffer_pool_size=1G
innodb_thread_concurrency=20
innodb_flush_log_at_trx_commit=0
innodb_lock_wait_timeout=300
max_allowed_packet=32M
max_connections=151
max_prepared_stmt_count=12800
table_open_cache=60000
table_open_cache_instances=4
table_definition_cache=60000

EOF

 

Is it possible to run KSC in a CT LXC?

Do you know any limitation for CT that I need to deal with? (I tried for exemple `lxc.prlimit.nofile: 60000` w/o success)

Best regards,

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...