跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

精選回覆

發表於

这几天发现数据库 CPU使用率经常 80%-90%  看PID是2937  怎么优化呢?image.thumb.png.785b4ea46a5ea25f5d8899662d87da98.png

3小时前,POWER说:

这几天发现数据库 CPU使用率经常 80%-90%  怎么优化呢?


宝塔面板做到以下这些,你还觉得服务器被在线人数太多而拖慢速度,你该升级服务器硬件配置了

 

调整swap虚拟内存为4GB

 

 

性能调整 -> 优化方案 -> 选择 x GB

依据自己的云主机内存大小,做出相应的内存选择

 


Elasticsearch中文搜索

会看到这两个,默认内存 1GB
-Xms1g
-Xmx1g
修改为 (调低)
-Xms256m
-Xmx256m

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.