The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net| -- since it uses dblink it should be enabled in the database. | |
| -- CREATE EXTENSION dblink; | |
| -- And you'll may need to grant permissions to use it to your user. | |
| -- GRANT EXECUTE ON FUNCTION dblink_connect_u(text) TO user; | |
| -- GRANT EXECUTE ON FUNCTION dblink_connect_u(text, text) TO user; | |
| -- Usage example: | |
| -- select g_parsel('insert into osm_polygon_extra select osm_id, st_pointonsurface( st_collect( geom ) ) from osm_polygons group by osm_id;', 'osm_polygons', 12); |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Support\Facades\Log; | |
| use Laravel\Scout\EngineManager; | |
| use Laravel\Scout\Engines\MeiliSearchEngine; | |
| use MeiliSearch\Client; |
The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net| #!/bin/bash | |
| set -e -o errexit -o pipefail -o nounset | |
| ################################### | |
| # This script can be used by itself, but it's recommended that you read | |
| # a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
| ################################### | |
| # Do not modify these variables (set by Proxmox when calling the script) | |
| vmId="$1" |