Skip to content

Commit

Permalink
Merge pull request #4 from MozeBaltyk/gh-pages
Browse files Browse the repository at this point in the history
blog update
  • Loading branch information
MozeBaltyk committed Jan 6, 2024
2 parents 37ebcbc + 6ef7575 commit db59f2b
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 23 deletions.
2 changes: 1 addition & 1 deletion config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ googleAdsense:

# readingTime: false # Whether to display the reading time.
# postDate: false # Whether to display the post date in the post meta section.

carouselPostCount: 6
# featuredPostCount: 10 # The number of featured posts shown in sidebar. Turn off by setting it to false.
# recentPostCount: 10 # The number of recent posts shown in sidebar. Turn off by setting it to false.
# relatedPostCount: 10 # The number of related posts. Turn off by setting it to false.
Expand Down
11 changes: 11 additions & 0 deletions content/docs/Scripting/Justfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ publish:
rm -rf {{tarball}} {{tardir}}
```

This one can be really usefull to define a default value which can be redefine with env variable:

```bash
# in terminal:
export REPOSITORY=gitlab.com

# in justfile
REPOSITORY := env_var_or_default('REPOSITORY', "github.com")
```



## Sources

Expand Down
2 changes: 1 addition & 1 deletion content/docs/Scripting/Powershell/mysql.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: 2023-08-01T21:00:00+08:00
title: Parsing
title: Mysql
navWeight: 90 # Upper weight gets higher precedence, optional.
series:
- Powershell
Expand Down
40 changes: 32 additions & 8 deletions content/news/orientdb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,27 @@ if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
fi
```

So you can get in ${ORIENTDB_HOME}/logs/orient-server.log.0 :

```log
*******************************************************************************************************************************************
PROFILER AUTO DUMP 'full' OUTPUT (to disabled it set 'profiler.autoDump.interval' = 0):
OrientDB Memory profiler: HEAP=674.70MB of 7.67GB - DISKCACHE (1 dbs)=2.88MB of 12.11GB - OS=5.43GB of 23.28GB - FS=48.91GB of 49.98GB
*******************************************************************************************************************************************
```

* Activate JMX inside `${ORIENTDB_HOME}/config/orientdb-server-config.xml` make the metrics available in the dashboard.

```xml
<!-- JMX SERVER, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
<handler class="com.orientechnologies.orient.server.handler.OJMXPlugin">
<parameters>
<parameter name="enabled" value="true"/>
<parameter name="profilerManaged" value="true"/>
</parameters>
</handler>
```

* inside `${ORIENTDB_HOME}/config/profiler.json`

```json
Expand All @@ -127,12 +148,12 @@ fi
"domain": "Test"
},
"console": {
"enabled": false,
"interval": 5000
"enabled": true,
"interval": 60
},
"csv": {
"enabled": false,
"directory": "/tmp/orientdb-server-metrics.csv",
"enabled": true,
"directory": "/tmp/metrics",
"interval": 5000
},
"prometheus": {
Expand All @@ -144,8 +165,11 @@ fi

## Other resources consumptions

* openfiles on systems
* openfiles on systems: `lsof -u orientdb | wc -l`

```bash
lsof -u orientdb | wc -l
```
* Memory usage: `top -o %MEM -c`


## Securing

https://www.digitalocean.com/community/tutorials/how-to-secure-your-orientdb-database-on-ubuntu-16-04
6 changes: 3 additions & 3 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/caniuse-lite/data/features/css-nesting.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/caniuse-lite/data/features/fullscreen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/caniuse-lite/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db59f2b

Please sign in to comment.