I am trying to install sonarqube in WSL its is sucessfully start after some time its stopping
cat es.log
2023.11.01 10:46:29 INFO es[][o.e.n.Node] version[7.17.8], pid[219], build[default/tar/120eabe1c8a0cb2ae87cffc109a5b65d213e9df1/2022-12-02T17:33:09.727072865Z], OS[Linux/5.10.16.3-microsoft-standard-WSL2/amd64], JVM[Private Build/OpenJDK 64-Bit Server VM/17.0.8.1/17.0.8.1+1-Ubuntu-0ubuntu122.04]
2023.11.01 10:46:29 INFO es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-17-openjdk-amd64]
2023.11.01 10:46:29 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2023.11.01 10:46:30 INFO es[][o.e.p.PluginsService] no plugins loaded
2023.11.01 10:46:30 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/sdb)]], net usable_space [235.3gb], net total_space [250.9gb], types [ext4]
2023.11.01 10:46:30 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2023.11.01 10:46:30 INFO es[][o.e.n.Node] node name [sonarqube], node ID [Wuz-Eq_sQL6GZ_L_UuUP2A], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2023.11.01 10:46:35 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2023.11.01 10:46:35 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2023.11.01 10:46:35 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2023.11.01 10:46:35 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2023.11.01 10:46:36 INFO es[][o.e.n.Node] initialized
2023.11.01 10:46:36 INFO es[][o.e.n.Node] starting ...
2023.11.01 10:46:36 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:33823}, bound_addresses {127.0.0.1:33823}
2023.11.01 10:46:36 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2023.11.01 10:46:36 ERROR es[][o.e.b.Bootstrap] node validation exception
[2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
2023.11.01 10:46:36 INFO es[][o.e.n.Node] stopping ...
2023.11.01 10:46:36 INFO es[][o.e.n.Node] stopped
2023.11.01 10:46:36 INFO es[][o.e.n.Node] closing ...
2023.11.01 10:46:36 INFO es[][o.e.n.Node] closed
2023.11.01 11:03:06 INFO es[][o.e.n.Node] version[7.17.8], pid[607], build[default/tar/120eabe1c8a0cb2ae87cffc109a5b65d213e9df1/2022-12-02T17:33:09.727072865Z], OS[Linux/5.10.16.3-microsoft-standard-WSL2/amd64], JVM[Private Build/OpenJDK 64-Bit Server VM/17.0.8.1/17.0.8.1+1-Ubuntu-0ubuntu122.04]
2023.11.01 11:03:06 INFO es[][o.e.n.Node] JVM home [/usr/lib/jvm/java-17-openjdk-amd64]
2023.11.01 11:03:06 INFO es[][o.e.n.Node] JVM arguments [-XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/opt/sonarqube/elasticsearch, -Des.path.conf=/opt/sonarqube/temp/conf/es, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=false]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] loaded module [analysis-common]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] loaded module [lang-painless]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] loaded module [parent-join]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] loaded module [reindex]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] loaded module [transport-netty4]
2023.11.01 11:03:07 INFO es[][o.e.p.PluginsService] no plugins loaded
2023.11.01 11:03:07 INFO es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/ (/dev/sdb)]], net usable_space [235.3gb], net total_space [250.9gb], types [ext4]
2023.11.01 11:03:07 INFO es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2023.11.01 11:03:07 INFO es[][o.e.n.Node] node name [sonarqube], node ID [Wuz-Eq_sQL6GZ_L_UuUP2A], cluster name [sonarqube], roles [data_frozen, master, remote_cluster_client, data, data_content, data_hot, data_warm, data_cold, ingest]
2023.11.01 11:03:12 INFO es[][o.e.t.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=512mb}]
2023.11.01 11:03:12 INFO es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2023.11.01 11:03:12 INFO es[][o.e.d.DiscoveryModule] using discovery type [zen] and seed hosts providers [settings]
2023.11.01 11:03:12 INFO es[][o.e.g.DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
2023.11.01 11:03:12 INFO es[][o.e.n.Node] initialized
2023.11.01 11:03:12 INFO es[][o.e.n.Node] starting ...
2023.11.01 11:03:12 INFO es[][o.e.t.TransportService] publish_address {127.0.0.1:41129}, bound_addresses {127.0.0.1:41129}
2023.11.01 11:03:13 INFO es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2023.11.01 11:03:13 ERROR es[][o.e.b.Bootstrap] node validation exception
[2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
2023.11.01 11:03:13 INFO es[][o.e.n.Node] stopping ...
2023.11.01 11:03:13 INFO es[][o.e.n.Node] stopped
2023.11.01 11:03:13 INFO es[][o.e.n.Node] closing ...
2023.11.01 11:03:13 INFO es[][o.e.n.Node] closed