setVisible(false)} closeOnBackground={false} showSpinnerOverlay={loading}>
+
+ {isAdmin ?
+ <>
+
+
+ Memory or process limit reached...
+
+ This server has reached the maximum process or memory limit.
+ Increasing container_pid_limit
in the wings configuration, config.yml
, might help resolve this issue.
+ Note: Wings must be restarted for the configuration file changes to take effect
+
+
+
+ >
+ :
+ <>
+
+
+ Possible resource limit reached...
+
+ This server is attempting to use more resources than allocated. Please contact the administrator and give them the error below.
+ pthread_create failed, Possibly out of memory or process/resource limits reached
+
+
+
+ >
+ }
+
+ );
+};
+
+export default PIDLimitModalFeature;
diff --git a/resources/scripts/components/server/features/index.ts b/resources/scripts/components/server/features/index.ts
index c84d57183..087e329dc 100644
--- a/resources/scripts/components/server/features/index.ts
+++ b/resources/scripts/components/server/features/index.ts
@@ -9,5 +9,6 @@ import { lazy } from 'react';
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'@feature/eula/EulaModalFeature'));
const JavaVersionModalFeature = lazy(() => import(/* webpackChunkName: "feature.java_version" */'@feature/JavaVersionModalFeature'));
const GSLTokenModalFeature = lazy(() => import(/* webpackChunkName: "feature.gsl_token" */'@feature/GSLTokenModalFeature'));
+const PIDLimitModalFeature = lazy(() => import(/* webpackChunkName: "feature.pid_limit" */'@feature/PIDLimitModalFeature'));
-export { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature };
+export { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature };